[2.0.0-alpha3] Implement PropTypeInterface::convertFrom()

Created on 12 January 2024, over 1 year ago
Updated 3 July 2024, 11 months ago

Task extracted from 📌 [2.0.0-alpha1] Add new PropTypes & Sources plugins API Needs work

We know that:

  • each slot can also get strings props values, wrapping them into a #plain_text render array
  • each string prop can also get number props values, casting them as (string)
  • ...

But we will not write all the expected prop types in the source annotations.

We need a way of:

  • declaring those compatibilities
  • hosting a converter method

See specification: https://docs.google.com/document/d/1-GaMK1Qk-h0hmB7GtAcnqPTuCOGMaxeRguop...

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France pdureau Paris

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