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
Improve the documentation #326
Comments
Sorry for the late response. I don't have enough free time to polish all things.
Yes and no. Before calling
Extensions Methods – methods that allow manipulation of some additional data (configuration options, callback etc like Directives) in GraphQL types. In graphql-js it was added in graphql/graphql-js#2097. And discussed in graphql/graphql-js#1527 and graphql/graphql-js#1343
Before returning data from resolver graphql want to determine which exact Type should be used for returning data.
|
Thanks, success for your work. |
The topic about the Interface is not clear for me.
Can someone to give me explain and a exemple to create and use a Interface with graphql-compose.
https://graphql-compose.github.io/docs/basics/understanding-types.html#interfaces-via-interfacetypecomposer
For exemple, I don't understand this parts
value => (value instanceof UserDoc)
and where fromUserDoc
?Update message
After some hours on graphql-compose, I see that some functions are not enough documented with a complete example.
Like
InterfaceTypeComposer
previously, I can't understand also how to use ainputType
after created it withInputTypeComposer
.For the beginer like me, the documentation is well done at the begining, to create schema, query and mutation, that clear.
But when I go to advenced concept like Interface, Input and Union, the explains and examples are not sufficient.
Same things with
"ThunkComposer"
and"Extensions Methods"
, what is ?Update message
What are the "Field Args methods" used for?
graphql-compose can manage introspection ?
Thanks,
The text was updated successfully, but these errors were encountered: