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

Add computed relationships #2419

Merged
merged 2 commits into from
Aug 18, 2022
Merged

Conversation

steve-chavez
Copy link
Member

@steve-chavez steve-chavez commented Aug 10, 2022

Closes #2144

TODO

  • Override detected relationships
  • Tests
    • o2m and m2o relationship
    • rpc
    • mutations
    • override detected relationships
    • self relationships
  • Refactor
  • CHANGELOG

@steve-chavez
Copy link
Member Author

Should be ready. Overall I feel confident that this one doesn't break existing functionality since ComputedRelationShip is added as a new data constructor of Relationship.

* remove unnecessary Either
* remove implicitJoins from ReadQuery
* remove unnecessary foldr in addJoinConditions
* move aliasing to addRels
* work for select, mutations, rpc
* overrides detected relationships
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants