It's me again. Is the fragments portion of resolve...
# orm-help
b
It's me again. Is the fragments portion of resolvers supposed to work yet? I swear I got it to work last night, but now it is not working and I feel stupid. Example resolver:
Copy code
js
const Employee = {
  report: {
    fragment: `fragment EmployeeId on Employee { id }`,
    async resolve (obj, args, ctx, info) {
      console.log(obj) // does not have the id property
      return [] // dummy data
    }
  }
}
n
b
Thank you! That was it!
👌 1