graphdoc
graphdoc copied to clipboard
I get the following error: Type "AWSJSON" not found in document.
We are trying to create a GraphQL API with AWS AppSync. When we try to create the documentation for that API in graphdoc, we get Type "AWSJSON" not found in document. When I try to create the API documentation in graphdoc, I get the error "Type "AWSJSON" not found in document.
The command I ran was as follows graphdoc -s . /schema.graphql -o . /doc/schema
Is it possible to create a document if it contains a type like "AWSJSON"?
I have the same issue "AWSDate"
I have the same issue "AWSDate"
I was able to solve it by using the "-e" option
A not so ideal quick fix here would be to declare AWSJON as a scalar in your schema.
Just add
scalar AWSJSON
to the graphql file