-
Notifications
You must be signed in to change notification settings - Fork 822
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
Example for InputObject type #45
Comments
Hi @millerjs! I've just added an example of how to use InputObjectType. Hope it helps! :) |
Thanks! Your example is as expected, however when I plug it in to a more complex schema, I get a |
@millerjs open an issue with a example that replicates the error (query and maybe the some similar ObjectTypes used in the query) so I can take a look into it! (the more info I have the better for fixing it!) |
Will do, I figure it's just a misuse on my part. If it turns out not to be, I'll open that issue. |
The reason it did not work for me is because the InputObject class was defined in a function local scope (I'm generating ObjectTypes classes at runtime). |
You have a detailed log where this error was triggering? (file, line) |
Remove an unneeded backup file
It seems that there is support for the InputObject type defined in the spec, however, none of the examples cover its usage as an argument. Is this supported? If so, is it possible to add an example?
The text was updated successfully, but these errors were encountered: