Skip to content

Add service closure name conflict validation#337

Merged
mtdowling merged 1 commit into0.10from
service-closure-name-validation
Mar 31, 2020
Merged

Add service closure name conflict validation#337
mtdowling merged 1 commit into0.10from
service-closure-name-validation

Conversation

@mtdowling
Copy link
Copy Markdown
Member

This commit validates and standardizes the behavior that has existed for
many years in AWS SDKs: requiring that shapes in the closure of a
service are case-insensitively unique regardless of their namespaces
(with some exceptions for simple types and lists/sets). This change
ensures that SDK code gen does not need to persist the namespaces in
their generated code, and that they can create their own
namespaced/siloed copies of shapes for each service (removing the need
to publish and pull in dependencies on shared types).

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.

@mtdowling mtdowling requested a review from kstich March 31, 2020 17:23
This commit validates and standardizes the behavior that has existed for
many years in AWS SDKs: requiring that shapes in the closure of a
service are case-insensitively unique regardless of their namespaces
(with some exceptions for simple types and lists/sets). This change
ensures that SDK code gen does not need to persist the namespaces in
their generated code, and that they can create their own
namespaced/siloed copies of shapes for each service (removing the need
to publish and pull in dependencies on shared types).
@mtdowling mtdowling force-pushed the service-closure-name-validation branch from 7b6bfe8 to f664b82 Compare March 31, 2020 19:48
@mtdowling mtdowling requested a review from kstich March 31, 2020 19:48
@mtdowling mtdowling merged commit 5e2486a into 0.10 Mar 31, 2020
@mtdowling mtdowling deleted the service-closure-name-validation branch April 8, 2020 23:50
@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