You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another idea I had was to provide multiple patterns when relevant. I realize this might feel a little counter-productive if the goal is to provide clear guidelines, but on the other hand it might save us from wasting time debating which is the "one true pattern" every time.
To pick a simple example, there is not a clear consensus between updateMovie and movieUpdate, so maybe we just feature both? Same with pagination, there is limit-based pagination and cursor-based pagination.
Here's an outline that shows what I mean:
CRUD
Introduction
Queries
Single
List
Guidelines
Pattern A (Prisma) [basic]
movieList
Pattern B (Vulcan) [experimental]
Movies
Filtering
Pagination
Mutations
Create
Update
Guidelines
Pattern A (PostGraphile, Vulcan) [basic]
createMovie(...)
Pattern B (Prisma, FooQL) [basic]
movieCreate(...)
Pattern C (AppSync) [advanced]
newMovie(...)
Auth
Introduction
Mutations
Log in
Log out
Reset password
E-commerce
Mutations
Add to cart
Check out
Social Media
Mutations
Voting
Like
The text was updated successfully, but these errors were encountered:
Another idea I had was to provide multiple patterns when relevant. I realize this might feel a little counter-productive if the goal is to provide clear guidelines, but on the other hand it might save us from wasting time debating which is the "one true pattern" every time.
To pick a simple example, there is not a clear consensus between
updateMovie
andmovieUpdate
, so maybe we just feature both? Same with pagination, there islimit
-based pagination and cursor-based pagination.Here's an outline that shows what I mean:
The text was updated successfully, but these errors were encountered: