You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is what I am trying to accomplish, however the resolve is either not recognized when the GraphQl schema is generated or Im missing something important on implementing resolvers correctly while using objection-graphql.
any ideas?
The text was updated successfully, but these errors were encountered:
`
dbObj = {
name: 'john'
address: {
prop w spaces 1: '0',
prop w spaces 2: '1'
}
}
jsonSchema = {
name: {type: string },
addres: { type: object, properties {
propWSpaces1: {type: string, resolve: (parent) => parent['prop w spaces 1']}
propWSpaces2: {type: string, resolve: (parent) => parent['prop w spaces 2']}
}
}
}
`
This is what I am trying to accomplish, however the resolve is either not recognized when the GraphQl schema is generated or Im missing something important on implementing resolvers correctly while using objection-graphql.
any ideas?
The text was updated successfully, but these errors were encountered: