Disable additionalProperties in slots, props in SDC json schema

Created on 18 April 2025, 24 days ago

Problem/Motivation

While debugging the slots/variants schemas ✨ Introduce component variants to SDC Active with @larowlan, we found out that

"patternProperties": {
        "^[a-zA-Z0-9_-]+$": {

means that whatever fits this regex is going to be validated against it.

But there could be additional properties!

I think we are missing additionalProperties: false in our schemas. @wimleers confirmed this finding.

Steps to reproduce

TBD

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

Introduced terminology

TBD

API changes

TBD

Data model changes

TBD

Release notes snippet

TBD

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

theme system

Created by

πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024