Skip to content

feat(jsii): Propagate stability to members#522

Merged
RomainMuller merged 1 commit intomasterfrom
rmuller/propagate-stability
Jun 6, 2019
Merged

feat(jsii): Propagate stability to members#522
RomainMuller merged 1 commit intomasterfrom
rmuller/propagate-stability

Conversation

@RomainMuller
Copy link
Copy Markdown
Contributor

The JSII compiler now propagates an entity's own stability to it's
members that are not decorated with an explicit stability. Un-annotated
types get the stability of the assembly, un-annotated type members
(methods, properties, constructors, ...) get the stability of their
declaring type.

Note: Overridden members do not derogate! It is the responsibility of
the overriding entity to ensure an appropriate stability is used.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The JSII compiler now propagates an entity's own stability to it's
members that are not decorated with an explicit stability. Un-annotated
types get the stability of the assembly, un-annotated type members
(methods, properties, constructors, ...) get the stability of their
declaring type.

Note: Overridden members do not derogate! It is the responsibility of
      the overriding entity to ensure an appropriate stability is used.
@RomainMuller RomainMuller requested review from a team and costleya as code owners June 6, 2019 13:59
@RomainMuller RomainMuller merged commit 20507e6 into master Jun 6, 2019
@RomainMuller RomainMuller deleted the rmuller/propagate-stability branch June 6, 2019 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants