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
I'm trying to add a custom field to my SanityDocument by using createSchemaCustomization API, the new field will combine a few SanityDocument fields in one, but one of those fields is a reference field and on sanity GROQ it could be accessed like brand->name but on I don't know how to access it on createSchemaCustomization.
I'm trying to add a custom field to my SanityDocument by using createSchemaCustomization API, the new field will combine a few SanityDocument fields in one, but one of those fields is a reference field and on sanity GROQ it could be accessed like
brand->name
but on I don't know how to access it on createSchemaCustomization.My createSchemaCustomization:
This doesn't work, logging
source.brand
outputsThe text was updated successfully, but these errors were encountered: