Skip to content

Conversation

@eemeli
Copy link
Collaborator

@eemeli eemeli commented Jan 10, 2024

Feedback from writing the JS implementation:

In the data model, the wrapping object in the Pattern which has a single body property is rather useless. We should flatten this to simplify the model a bit.

One reason why the wrapping object was included earlier was to enable an extension of the data model to function as a CST, but in practice I at least found that its requirements are sufficiently different for the CST to work better as a separately defined structure.

This PR overlaps a bit with #574; whichever lands second will need a small adjustment to deconflict the merge.

@eemeli eemeli added the data model Issues related to the Interchange Data Model label Jan 10, 2024
@eemeli eemeli requested a review from gibson042 January 10, 2024 13:49
Copy link
Member

@aphillips aphillips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Some editorial comments.

Co-authored-by: Addison Phillips <addisonI18N@gmail.com>
@eemeli eemeli requested a review from aphillips January 10, 2024 17:10
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
@aphillips aphillips merged commit d6f337f into unicode-org:main Jan 10, 2024
@eemeli eemeli deleted the flat-pattern branch January 10, 2024 20:22
eemeli added a commit that referenced this pull request Jan 12, 2024
@eemeli eemeli mentioned this pull request Jan 12, 2024
aphillips pushed a commit that referenced this pull request Jan 13, 2024
* Fix merge of #574 and #585

* Fix JSON Schema options definition
eemeli added a commit to messageformat/messageformat that referenced this pull request Jan 14, 2024
@eemeli eemeli added this to the LDML 45 milestone Jul 23, 2025
XM5jDcsHTyGJtQqlCi added a commit to XM5jDcsHTyGJtQqlCi/messageformat that referenced this pull request Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data model Issues related to the Interchange Data Model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants