-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Seemingly incomplete GraphQL documentation #614
Comments
Hi @Edo78 Thank you for pointing this out. It looks like new versions of the Yes, feel free to open a PR. I think the best place to add this is just after the tsconfig.json {
"compilerOptions": {
...
"lib": [
...
"ESNext.AsyncIterable"
]
}
...
} Thanks! |
I also noticed that the actual graphql docs doesn't talk about typeorm & type-graphql integration (unless I missed it). |
@Edo78 the documentation actually mentions how to integrate TypeGraphQL the I would prefer not to add more documentation on TypeGraphQL and TypeORM because they both have their own docs with many examples and I think this would be a bit out of the scope of the framework documentation. |
Ok,I may have been to vague. Let me rephrase it. You wrote section about having a graphql schema completely separated from the db schema but this implies that who want to have the same schema for both must replicate it. Using
I may be wrong but having a graphql schema resembling the db ones is a common practice and so it should have be at least an example. Just to provide users a way to understand how this technology could be integrated in the framework. Obviously this is just my 2 cents. |
I just tryed to play with graphql so I created a new foalts app and followed the instruction on https://foalts.gitbook.io/docs/topic-guides/api/graphql
Sadly I got some errors
This happens because
tsconfig.json
lacks the libesnext.asynciterable
(adding it solves those problems).I double checked to be sure but I can't find any reference in the doc.
If needed I can create a PR to update the doc. Let me know
The text was updated successfully, but these errors were encountered: