Add _collection
to all data
, sibilingData
, doc
etc
#2829
ssyberg
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wasn't quite sure how to search for if this has already been requested, but I've found when building reusable fields/hooks/etc that not knowing the underlying collection type for the data I'm working with is a frequent issue. I haven't wanted to address this so I end up passing this data around all over the place and it's feeling increasingly brittle.
I'm ambivalent as to if this should just be injected into responses all over the place or if it should actually be stored in the database (seems kinda silly but idk). If there's already a patter for injecting attributes into
data
,doc
,sibilingData
etc that would probably be my vote.Beta Was this translation helpful? Give feedback.
All reactions