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
Type of a field that is used in many of our blocks in our schema has started to be generated differently.
Many of our blocks include a field we call hidden_for_languages. Field type of these fields is Multi-Options and Source of options is set to Languages.
The type generated for such fields that were created in the past is generated as such
I suspect it to be a change on Storyblok side. Can't tell approximately when, but Languages was added as a Source option not too long ago. Although we have been on the latest version of storyblok-generate-ts (2.1.0) for the last 6 months, only noticed this behaviour recently.
I don't use that feature you describing at all in my setup, so I really don't know where to look at. You can always overwrite the created interfaces to be more precise, otherwise it would be great to chat with some devs from Storyblok what might be the reason for this
Type of a field that is used in many of our blocks in our schema has started to be generated differently.
Many of our blocks include a field we call hidden_for_languages. Field type of these fields is
Multi-Options
and Source of options is set toLanguages
.The type generated for such fields that were created in the past is generated as such
However, the following type is being generated for the most recent instances of hidden_for_languages with exactly same settings as before
The new type is not only worse, but also inconsistent with hidden_for_languages fields created in the past. Could you please support? 🙏🏻
The text was updated successfully, but these errors were encountered: