Skip to content

Commit

Permalink
Add further admonition about mixin back compat
Browse files Browse the repository at this point in the history
  • Loading branch information
JordonPhillips committed Jan 20, 2022
1 parent 16a6059 commit 7e9329b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/1.0/spec/core/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2998,6 +2998,11 @@ runtime polymorphism for types generated from Smithy models. Smithy model
transformations like code generation or converting to other model formats
like OpenAPI SHOULD completely elide mixins by flattening the model.

It is a backward compatible change to remove a mixin from a shape as long as
equivalent traits and members of the mixin are applied directly to the shape.
Such a change should have no impact on generated artifacts like code or
OpenAPI models.


Mixins cannot be referenced other than as mixins to other shapes
================================================================
Expand Down

0 comments on commit 7e9329b

Please sign in to comment.