Support buildReference for one-to-many relationships
Closed this issue · 0 comments
mikkopaderes commented
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
onhasMany
one-to-many relationship type - Support
buildReference
onbelongsTo
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 theReference
data type resolves to
- This is only used for determining what collection/sub-collection this relationship will use when saving the