forest-express-mongoose
forest-express-mongoose copied to clipboard
Please publish a full example of a smart collection with references (smart references?) from/to a real collection.
Expected behavior
The example for a smart-collection here should contain a fuller example, with create/update/delete apis, and one relationship (smart relationship?) between a smart collection and a normal collection. I found a fuller example under the Lumber docs here but it also does not contain any relationships.
Actual behavior
The docs only implements the list api. No relationships.
Context
Json-API has a concept of relationships between entities which isn't used in any of your example. How would you implement a smart-collection that has relationships from/to a normal collection or from/to another smart-collection? Would you recommend implementing the Json-API or use Lumber smart relationships? I'm afraid that trying to add a smart-relationship to a smart-collection would create collisions - would there be collisions between the self-implemented Json-API routes and the routes added by Liana smart-relationships? Please publish fuller example.
P.S. Could be awesome to implement an example for this usecase.