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
I'm interested in this library because I'm currently using bookshelf in an app and am curious about graphql. I've peeked at the source code and tests a few times now, but don't quite grok what the point of this library is.. Is the idea that you can use the bookshelf models you've already defined within your graphql types?
I think it would be nice if a clearer explanation existed on the readme describing the problem this library is trying to solve as well as what its philosophy is.
Thanks very much,
Thomas
The text was updated successfully, but these errors were encountered:
I would be happy to write more on what the library provides and the philosophy. In short, you can use your existing bookshelf models, and build a graphql api from them without having to write your own resolve functions for attribute accessors and simple relation traversals.
I have purposely avoided generating schema automatically because your graphql schema should be your API while your bookshelf models contain code that you may not want to expose on an API level.
Hey there,
I'm interested in this library because I'm currently using bookshelf in an app and am curious about graphql. I've peeked at the source code and tests a few times now, but don't quite grok what the point of this library is.. Is the idea that you can use the bookshelf models you've already defined within your graphql types?
I think it would be nice if a clearer explanation existed on the readme describing the problem this library is trying to solve as well as what its philosophy is.
Thanks very much,
Thomas
The text was updated successfully, but these errors were encountered: