Skip to content
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

Disallow traits applied to public prelude shapes #317

Merged
merged 1 commit into from
Mar 16, 2020

Conversation

mtdowling
Copy link
Member

Applying a trait to a prelude shape is a recipe for disaster. For
example, if someone marked the smithy.api#String shape as private,
virtually every model would break.

Issue #, if available:

Description of changes:

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

Applying a trait to a prelude shape is a recipe for disaster. For
example, if someone marked the smithy.api#String shape as private,
virtually every model would break.
@mtdowling mtdowling requested a review from kstich March 15, 2020 20:59
@kstich
Copy link
Contributor

kstich commented Mar 16, 2020

This closes #278, correct?

@mtdowling mtdowling merged commit 290a825 into 0.10 Mar 16, 2020
@mtdowling mtdowling deleted the no-prelude-apply-traits branch March 25, 2020 03:35
@kstich kstich mentioned this pull request Apr 23, 2020
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