-
Notifications
You must be signed in to change notification settings - Fork 2
Discussion: MVP #4
Comments
Feel free to comment and update the requirements. If we could get the loopback model system hooked up to graphql types with fields and field types and serve a graphQL endpoint with any level of resolver fucntionality that would be good. I doubt we'll be able to tackle the resolvers in the first go Something like: Loopback model <==> GraphQL Type ==> executable schema ==> /graphql endpoint |
Thanks for the start @mpicard. Some limitations with LB4 in alpha (developer preview coming soon) are as follows (which affect the MVP).
cc: @beeman |
I like the idea of using a decorator for the model, does loopback 4 have predefined model actions like CRUDL? We could have a decorator to make those mutations. I'd also say use graphql.js under the hood, all the other servers in node seem to be using it so there's no need to reinvent the wheel there |
You can get the CRUD endpoints using the default For now I'd say it might be best to start implementing it incrementally. Start with just a TS Model (Interface) => Then simple I don't think enabling each subsequent model should be too much work once we have something basic working. Thoughts? |
That sounds like a good plan! Let's try and touch base soon and make a board so we can chip away at this piece by piece! |
MVP
This document will outline the requirements for a basic release and serve as a discussion page for the MVP.
Requirements
/graphql
endpointThe text was updated successfully, but these errors were encountered: