The returned properties of MultilinkStoryblok
do not match generated type, and should be nullable.
#115
Labels
bug
Something isn't working
help wanted
[Contribution] Extra attention is needed
p2-nice-to-have
[Priority] Lower priority, beneficial enhancements that are not urgent.
PR welcome
[Contribution] Pull requests are welcome.
Similar to these issues 112 and 113, The type of
MultilinkStoryblok
(generated bygenerate-sb-types
) does not match the JSON data returned by the API.The returned JSON for a link contain additional properties. I've commented out the properties in question
And similar to the
AssetStoryBlok
issues (mentioned earlier), why does does an blank link field return an object, and notnull
/undefined
? To identify a blank field I have to check the value of thelinkfield
and then based on that check if either theurl
orid
is blank (depending on if it's a link to a URL or a Story).Unrelated to this ticket, the Rich Text fields also return an empty object, and requires additional checks to discover if it's blank.
The text was updated successfully, but these errors were encountered: