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

Add aws.api#clientOptional trait #1052

Merged
merged 1 commit into from
Jan 13, 2022
Merged

Add aws.api#clientOptional trait #1052

merged 1 commit into from
Jan 13, 2022

Conversation

mtdowling
Copy link
Member

This trait helps existing AWS services transition from the more relaxed
semantics they've previously had around nullability to a future where
nullability can be relied on for things like code generation and
deserialization.

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

This trait helps existing AWS services transition from the more relaxed
semantics they've previously had around nullability to a future where
nullability can be relied on for things like code generation and
deserialization.
@mtdowling mtdowling requested a review from a team as a code owner January 12, 2022 22:54
public void loadsTrait() {
Model model = getModel();
StructureShape struct = model.expectShape(ShapeId.from("smithy.example#Foo"), StructureShape.class);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: some extra lines in here

@mtdowling mtdowling merged commit c3af69b into idl-2.0 Jan 13, 2022
@mtdowling mtdowling deleted the add-client-optional branch April 8, 2022 05:32
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