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
The type of AssetStoryBlok (generated by generate-sb-types) is incorrect. When I leave an asset field empty then the body of that field's JSON looks like this:
Related question - why does an empty asset field not just return null/undefined? Why does it return this phantom asset object? That seems like an API bug to me.
If this is intended behaviour, then AssetStoryblok's fields need to be made | null.
The text was updated successfully, but these errors were encountered:
The type of
AssetStoryBlok
(generated bygenerate-sb-types
) is incorrect. When I leave an asset field empty then the body of that field's JSON looks like this:Which does not match the shape of
AssetStoryblok
:Related question - why does an empty asset field not just return
null
/undefined
? Why does it return this phantom asset object? That seems like an API bug to me.If this is intended behaviour, then
AssetStoryblok
's fields need to be made| null
.The text was updated successfully, but these errors were encountered: