-
-
Notifications
You must be signed in to change notification settings - Fork 36
Add data model to stability policy #643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Mark Davis <mark@unicode.org>
Co-authored-by: Tim Chevalier <tjc@igalia.com>
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
catamorphism
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| to the data model that would result in a data model representation | ||
| based on this version being invalid. | ||
|
|
||
| > For example, existing interfaces or fields will not be removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about changes to the existing fields and interfaces?
IIUC, this parts says that if we ever un-reserve, say, the % sigil, we will also need to keep it on the list of sigils inside UnsupportedAnnotation:
interface UnsupportedAnnotation {
type: "unsupported-annotation";
sigil: "!" | "%" | "^" | "&" | "*" | "+" | "<" | ">" | "?" | "~";
source: string;
}
Otherwise, (i.e. if we remove % from the list), data model representations produced by older implementations will not be valid.
What was the reason for including the sigil field in UnsupportedAnnotation? Could we move the sigil into the source?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. Including it in the source string would be a better choice for future compatibility.
Fixes #640