[go: up one dir, main page]

Skip to content
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

I get the following error: Type "AWSJSON" not found in document. #396

Open
kodai305 opened this issue Oct 1, 2021 · 3 comments
Open

I get the following error: Type "AWSJSON" not found in document. #396

kodai305 opened this issue Oct 1, 2021 · 3 comments

Comments

@kodai305
Copy link
kodai305 commented Oct 1, 2021

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"?

@mafakuti
Copy link

I have the same issue "AWSDate"

@kodai305
Copy link
Author

I have the same issue "AWSDate"

I was able to solve it by using the "-e" option

@raphaelfavier
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants