Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please publish a full example of a smart collection with references (smart references?) from/to a real collection. #137

Open
ozomer opened this issue Dec 11, 2018 · 0 comments

Comments

@ozomer
Copy link
Contributor

ozomer commented Dec 11, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants