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

Missing good examples how to use some features on README #51

Open
villander opened this issue Feb 21, 2022 · 1 comment
Open

Missing good examples how to use some features on README #51

villander opened this issue Feb 21, 2022 · 1 comment

Comments

@villander
Copy link

Hey, @jneurock I realized that is missing an example of how to call this guy. In that case where and when the getPerson is called? I think we need a good example of the graphql query has been called in some component or route. What do you think?

https://github.com/miragejs/graphql#example-find-person-by-id

@villander villander changed the title Missing good example how to use some queries Missing good examples how to use some features on README Feb 21, 2022
@jneurock
Copy link
Collaborator

I'm open to better examples, for sure! In this case, it's hard to know what a good example would be given that GraphQL usage can vary so widely. Maybe there's a good set of standard examples that cover the common range of possibilities, e.g., from declarative, template-only examples to common business-logic-within-framework-hook examples? I really don't know and I don't want to include so many different examples that it bloats the README.

Some actual docs for this library would be nice. Even nicer, some framework/tool specific examples from which readers could choose. Any of these things would likely be a long time away, to be honest.

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

2 participants