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: go beyond CRUD #27

Open
SachaG opened this issue Nov 3, 2019 · 4 comments
Open

Suggestion: go beyond CRUD #27

SachaG opened this issue Nov 3, 2019 · 4 comments

Comments

@SachaG
Copy link

SachaG commented Nov 3, 2019

While explaining CRUD operations is a great start, it could be interesting to also provide examples for things like voting, like/dislike, add to cart, checkout, sign up, etc.

@RIP21
Copy link
Member

RIP21 commented Nov 3, 2019

I think there is some? Isn't it? I think in the section about mutation namespaces and further.

@RIP21
Copy link
Member

RIP21 commented Nov 6, 2019

@SachaG
Copy link
Author

SachaG commented Nov 6, 2019

I saw that but I was thinking about giving them more prominence in the table of contents and providing actual detailed examples.

@nodkz
Copy link
Member

nodkz commented Nov 13, 2019

@SachaG we may rename https://github.com/graphql-rules/graphql-rules/blob/master/docs/rules/06-mutations/mutation-business-operations.md to mutation-beyond-crud or mutation-crudless or just mutation-business. And create such sub-rules for example:

  • mutation-crudless-voting or mutation-business-voting
  • mutation-crudless-like or mutation-business-like
  • mutation-crudless-add-to-card or mutation-business-add-to-card
  • mutation-crudless-checkout or mutation-business-checkout

And show them on site like mutation-payload* rules via list nesting: https://github.com/graphql-rules/graphql-rules/tree/master/docs/rules/06-mutations

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