-
Notifications
You must be signed in to change notification settings - Fork 245
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
feat: add support for "external" stability #596
Conversation
Add support for a new class of stability called "imported". This stability class is treated like "stable" for documentation purposes, but always lead to warnings (not errors) for stability comparison purposes.
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.
I am struggling with the name... without context it’s impossible to understand why this tag is added. Why not add support for something like “@stability X” as an additional way to specify stability (think ability the current stability tags as sugar for this) and then we can had a stability type of “unknown” or “ignore”
|
||
test.deepEqual(classType.docs!.stability, spec.Stability.Imported); | ||
test.deepEqual(method!.docs!.stability, spec.Stability.Imported); | ||
test.done(); |
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.
Don’t we need a test which verifies that imported can break with only warnings?
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.
We decided on |
Discussed face to face and decided on |
1315be5
to
8552b7a
Compare
Add support for a new class of stability called "imported".
This stability class is treated like "stable" for documentation purposes,
but always lead to warnings (not errors) for stability comparison purposes.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.