jstruct
jstruct copied to clipboard
Implement a small library on top of this to pass in jstruct stored in req.body
If you could pass in the formatting data from within req.body you could access the data layer in the format that the client prefers.
There is an opportunity here to create something similar to Facebook's effort with GraphQL, however:
- JSON-first.
- Handling (1) data fetching separately in the code from (2) data representation and data transformation.
- Not needing custom libraries to be created for every single database.
:+1: