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

Suggestion: list who uses each pattern #26

Open
SachaG opened this issue Nov 3, 2019 · 1 comment
Open

Suggestion: list who uses each pattern #26

SachaG opened this issue Nov 3, 2019 · 1 comment

Comments

@SachaG
Copy link

SachaG commented Nov 3, 2019

I don't know how easy it would be to do this in practice, but I think it could be very cool to list who uses the different patterns.

For example:

  • createMovie: syntax used by Hasura, PostGraphile
  • MovieCreate: syntax used by Prisma, Vulcan
  • cursor-based pagination: used by Product Hunt, GitHub, PostGraphile
  • single input mutations: pattern followed by Relay, Apollo, PostGraphile

etc.

To give a practical example, it could be useful to see at a glance which APIs implement the Relay spec. Or maybe you already use Hasura and see that PostGraphile does things in a similar way, so you decide to check it out as well.

Also, linking back to major actors in the GraphQL ecosystem like Prisma, PostGraphile, etc. would give them an incentive to contribute to the project.

@RIP21
Copy link
Member

RIP21 commented Nov 3, 2019

Great suggestion too. It also gives these rules some more weight and context knowing what particular companies are doing.

I think it will be easy to implement using some tags in MD files frontmatter and then some filtering here and there.

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