-
Notifications
You must be signed in to change notification settings - Fork 433
Get context in interface field resolvers #748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hmm, I think something similar should work but haven't looked at release version in a long time. After #682 lands this should be fixed on master. |
Oh nice, thanks, @davidpdrsn! I'll give that a try :) @davidpdrsn: Sorry, it was late yesterday, but am I missing something or isn't that the exact same code as in the original post? In any case, with that code trying to use a |
This is now possible in |
One of my interface's fields resolves to another type. I'd like to store that field as an
ID
and retrieve it from my context upon resolution. Whenever I try this, I get an error saying the trait boundFromInputValue
is not satisfied for my context.This leads me to believe this is simply not supported in the current 0.14.2 release. Is this something I should also wait for in the new interface release that's coming up, or am I missing something?
The text was updated successfully, but these errors were encountered: