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

Support buildReference for one-to-many relationships #151

Closed
mikkopaderes opened this issue Jan 19, 2021 · 0 comments · Fixed by #157
Closed

Support buildReference for one-to-many relationships #151

mikkopaderes opened this issue Jan 19, 2021 · 0 comments · Fixed by #157
Assignees

Comments

@mikkopaderes
Copy link
Owner

mikkopaderes commented Jan 19, 2021

Spin-off from the discussions in #150

User Story:

As a user, I want to support buildReference on a one-to-many relationship, so that I can choose to save my records under any collections/sub-collections

Acceptance Criteria:

  • Support buildReference on hasMany one-to-many relationship type
  • Support buildReference on belongsTo relationships
    • This is only used for determining what collection/sub-collection this relationship will use when saving the Reference data type property.
    • When fetching the relationship, it will bypass the buildReference and simply fetch whatever the Reference data type resolves to
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant