Open scottrippey opened 6 months ago
The way references are handled in deref()
has to be updated to support [internalGroqTypeReferenceTo]
being undefined. Sanity's typegen makes them all optional.
asset?: {
_ref: string;
_type: "reference";
_weak?: boolean;
[internalGroqTypeReferenceTo]?: "sanity.imageAsset";
};
Is there an existing issue for this?
Code of Conduct
Feature Request