Skip to content

Commit 2891433

Browse files
aphillipsmacchiaticatamorphismeemeli
authored
Add data model to stability policy (#643)
* Add data model to stability policy Fixes #640 * Apply suggestions from @macchiati Co-authored-by: Mark Davis <[email protected]> * Update README.md * Update spec/README.md Co-authored-by: Tim Chevalier <[email protected]> * Update spec/README.md Co-authored-by: Eemeli Aro <[email protected]> * Update spec/README.md Co-authored-by: Eemeli Aro <[email protected]> --------- Co-authored-by: Mark Davis <[email protected]> Co-authored-by: Tim Chevalier <[email protected]> Co-authored-by: Eemeli Aro <[email protected]>
1 parent 0923f4d commit 2891433

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

spec/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,28 @@ All other names in these categories are reserved for the use of implementations
123123
> [!NOTE]
124124
> Users defining custom names SHOULD include at least one character outside these ranges
125125
> to ensure that they will be compatible with future versions of this specification.
126+
127+
Later versions of this specification will not introduce changes
128+
to the data model that would result in a data model representation
129+
based on this version being invalid.
130+
131+
> For example, existing interfaces or fields will not be removed.
132+
133+
Later versions of this specification MAY introduce changes
134+
to the data model that would result in future data model representations
135+
not being valid for implementations of this version of the data model.
136+
137+
> For example, a future version could introduce a new keyword,
138+
> whose data model representation would be a new interface
139+
> that is not recognized by this version's data model.
140+
141+
Later specification versions will not introduce syntax that cannot be
142+
represented by this version of the data model.
143+
144+
> For example, a future version could introduce a new keyword.
145+
> The future version's data model would provide an interface for that keyword
146+
> while this version of the data model would parse the value into
147+
> the interface `UnsupportedStatement`.
148+
> Both data models would be "valid" in their context,
149+
> but this version's would be missing any functionality for the new statement type.
150+

0 commit comments

Comments
 (0)