storyblok / field-plugin

Create and deploy Storyblok Field Plugin
https://www.storyblok.com/docs/plugins/field-plugins/introduction
25 stars 3 forks source link

fix(lib): make the translatable property optional #375

Closed demetriusfeijoo closed 4 months ago

demetriusfeijoo commented 4 months ago

What?

It makes the translatable property optional in the plugin's schema.

Why?

JIRA: EXT-2267

The translatable property is not always present and we were expecting it to be. So, for example, in the Field Plugin Editor (where this property doesn't exist in the schema), the field plugin was breaking because the schema validation just failed due to the lack of this property.

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plugin-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2024 0:03am