ember-graphql / ember-apollo-client

🚀 An ember-cli addon for Apollo Client and GraphQL
MIT License
280 stars 72 forks source link

Feature: Query Blueprints #147

Open alexlafroscia opened 6 years ago

alexlafroscia commented 6 years ago

Would you be interested in a PR that added blueprints for queries, fragments and mutations? I would love to add this feature but want to make sure it would be welcome first!

josemarluedke commented 6 years ago

I'm curious about what you mean by query blueprints? I didn't find anything concrete about it.

alexlafroscia commented 6 years ago

Ember blueprints for the different types of .graphql files that this addon supports

Basically, allowing the user to run

ember g query get-people

to generate the app/gql/queries/get-people.graphql file. Same for fragment and mutation.

josemarluedke commented 6 years ago

@alexlafroscia Okay, I see now. Thanks for the clarification.

viniciussbs commented 6 years ago

👍

We just need to pay attention to the Module Unification RFC.