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

Support for GraphQL #14

Open
bobgarner opened this issue Sep 15, 2022 · 0 comments
Open

Support for GraphQL #14

bobgarner opened this issue Sep 15, 2022 · 0 comments
Assignees
Labels
api enhancement New feature or request

Comments

@bobgarner
Copy link
Member

There are many advantages and disadvantages for using GraphQL. Many companies use it, including GitHub. I certainly don't think GraphQL is appropriate for every application as a permanent implementation but for getting something quick to client side developers before you know all the "endpoints" or even the data model you may need it could be a big win.

The situation I am talking about is when you are getting started and may not have a clear understanding of the exact structures of data the client will need. Having a super flexible API such as GraphQL can make it fast at the start when you haven't yet locked down all the application requirements and need to quickly prototype ideas. Instead of wasting time creating perfectly coded REST API calls that may just get thrown away, it would be better to put up a GraphQL API that is less concerned about performance and more concerned about providing the flexibility needed at this early stage. Then as the application development matures, you can identify the areas that are known very well in terms of data structure and access patterns, and at that time decide to either write specific REST API endpoints or just tune the performance of the GraphAPI implementation.

This task is to write templates that generate a fairly simple GraphQL implementation that can be used by client side developers early on.

@bobgarner bobgarner added enhancement New feature or request api labels Sep 15, 2022
@bobgarner bobgarner self-assigned this Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant