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

Not working anymore? #14

Open
Tenrys opened this issue Apr 28, 2023 · 1 comment
Open

Not working anymore? #14

Tenrys opened this issue Apr 28, 2023 · 1 comment

Comments

@Tenrys
Copy link

Tenrys commented Apr 28, 2023

It seems to be placing fragment definitions in the middle of selection sets in the resulting query, which I believe is not valid.

How is it supposed to work normally?

@Tenrys
Copy link
Author

Tenrys commented Apr 28, 2023

After further investigation it seems it expects you to use the fraql library... Should probably mention that somewhere?

Because if you just use graphql-tag or urql's gql functions, the fragment will not get converted to InlineFragment nodes.

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

1 participant