-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor hierarchy of shapes in IDL 2
Rather than expose a NamedMembers interface, I think it makes more sense to just move all member accessors to Shape. This gets rid of a lot of cruft when trying to deal with different kinds of shapes (for example, if you want to write something that works with both structures and unions). Furthermore, structurallyExclusive only impacts structure shapes. This fixes an issue where it was implemented to also check enums, intEnums, and unions.
- Loading branch information
Showing
13 changed files
with
306 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 0 additions & 46 deletions
46
smithy-model/src/main/java/software/amazon/smithy/model/shapes/NamedMembers.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.