graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

failed to parse schema

Open crazybits opened this issue 10 months ago • 1 comments

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 an Err value: GeneralError("Parser error: schema parse error: Parse error at 1:1\nUnexpected {[Punctuator]\nExpected schema, extend, scalar, type, interface, union, enum, input or directive\n")

crazybits avatar Apr 08 '24 01:04 crazybits