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

graphql #21

Open
SOMONSOUM opened this issue Jan 18, 2023 · 3 comments
Open

graphql #21

SOMONSOUM opened this issue Jan 18, 2023 · 3 comments

Comments

@SOMONSOUM
Copy link

Does it work with Graphql?

@KRTirtho
Copy link
Owner

I didn't test it yet, but theoretically it should. But it doesn't support it out of the box

@SOMONSOUM
Copy link
Author

SOMONSOUM commented Jan 20, 2023

I wish it could be supported graphql out of the box and have documentation about it with graphql.
Thank for hard working and contribute to community.

@satvikpendem
Copy link

@SOMONSOUM this package seems to follow the same API as React Query, which has a GraphQL page about it, so you could try translating that over to your usage of fl_query.

https://tanstack.com/query/v4/docs/react/graphql

https://github.com/dotansimha/graphql-code-generator/tree/7c25c4eeb77f88677fd79da557b7b5326e3f3950/examples/front-end/react/tanstack-react-query

https://www.takeshape.io/articles/how-to-use-react-query-with-react-and-graphql/ (might be using an older version as this article is from 2021)

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