Repository navigation
Replies: 4 comments
|
To reiterate this odes not work While this does |
0 replies
|
Object type classes can't have parameters in constructor. |
0 replies
|
Hmmm its a common pattern I have been following that has worked fine. However let me try that and see if it fixes this issue |
0 replies
|
You're also returning an object from the constructor, which breaks |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Describe the Bug
For some reason when adding @root to a field resolver it ceases to work properly
To Reproduce
I have the following model
_Warning some elements are simplified/redacted both for privacy reasons and to make example easier to illustrate _
and the associated resolver
I think attempt to run the following query
Rule is a model that exists on parentObject.
When I write my field resolver as listed above it just never runs and I get a
non-nullable fielderror.When I write my field resolver without adding in the @root decorator. Then it properly returns
some nonsenseas the ruleTrue field.All reactions