You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explore if it makes sense to have a different extraction pattern for storing the relation than for the retrieval. Doing so would allow users to build dedicated views on the data for reading operations that require less data and must not resolve the reference.
I was just thinking about this, and I think it's a very beneficial pattern to support, but I would probably do it via a dedicated annotation @ExtendedReference instead of @DocumentReference so that you don't confuse the 2.
From a data modeling perspective, you wouldn't want the behavior to flip where sometimes it's the full object and others it's the subset. So I see having the new annotation being a better fit here. I actually created a fork and was going to start working on this.
Explore if it makes sense to have a different extraction pattern for storing the relation than for the retrieval. Doing so would allow users to build dedicated views on the data for reading operations that require less data and must not resolve the reference.
The text was updated successfully, but these errors were encountered: