We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! I want to use fragment recurcively...
export const folderFragment = client.createFragment(` fragment on Folder { id name description shortdescription image folders { ...${folderFragment} } } `); client.query(`{ folders { ...${folderFragment} } }`);
but i get an error
error Error: There is no such fragment: undefined
Help me please..Thank you!
The text was updated successfully, but these errors were encountered:
little hack with
gql._fragments.folderFragment = gql._fragments[folderFragment]; ...${folderFragment} -> ...folderFragment
doesn't work. I get an error:
error RangeError: Maximum call stack size exceeded
but i can run query in graphiql gui on Golang GraphQL server (https://github.com/neelance/graphql-go/) with no errors
fragment folderFragment on Folder { id name description shortdescription image folders { ...folderFragment } } query { folders { ...folderFragment } }
Sorry, something went wrong.
Please, check my pull request #35
No branches or pull requests
Hi! I want to use fragment recurcively...
but i get an error
Help me please..Thank you!
The text was updated successfully, but these errors were encountered: