graphql-client
graphql-client copied to clipboard
failed to parse schema
error is attached below, and the schema is downloaded with command graphql-client introspect-schema https://api.mainnet.aptoslabs.com/v1/graphql --output ./schema.graphql
#[derive(GraphQLQuery)] | ^^^^^^^^^^^^ | = help: message: called
Result::unwrap()
on anErr
value: GeneralError("Parser error: schema parse error: Parse error at 1:1\nUnexpected{[Punctuator]
\nExpectedschema
,extend
,scalar
,type
,interface
,union
,enum
,input
ordirective
\n")