[PP-1] Make custom block type config entities fully validatable

Created on 27 September 2023, 9 months ago
Updated 4 January 2024, 6 months ago

Problem/Motivation

Block content type config entities are mostly validatable using the typed config system, but are not quite accurate. The revision key should be a boolean, not an integer, but once that's done, they are nearly fully validatable at the API level. (The only other thing they need, arguably, is for the description field to be nullable, but that is blocked on πŸ“Œ Configuration schema & required values: add test coverage for `nullable: true` validation support Fixed .)

Steps to reproduce

Proposed resolution

Add constraints to the description element of block_content.type.* in config schema. Also change the revision element to a boolean.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

TBD

✨ Feature request
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
Block contentΒ  β†’

Last updated 5 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

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

Comments & Activities

Production build 0.69.0 2024