Allow grouping root fields by custom means
jasonkuhrt opened this issue · 0 comments
jasonkuhrt commented
Perceived Problem
Graffle is limited to this functional organization:
graffle.query.*
graffle.mutation.*
It can yield something like e.g.
graffle.query.post
graffle.query.posts
graffle.mutation.createPost
graffle.mutation.deletePost
graffle.mutation.publishPost
Which lacks semantic grouping around post
Ideas / Proposed Solution(s)
At generation time allow a user to supply custom grouping logic to be able to have e.g.
graffle.post.getOne
graffle.post.getMany
graffle.post.create
graffle.post.delete
graffle.post.mutation