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

[0.10] Add protocol and auth trait requirements #280

Merged
merged 2 commits into from
Feb 24, 2020

Conversation

mtdowling
Copy link
Member

Protocol traits now list the traits that protocol implementations must
understand in order to successfully implement the protocol. This
provides the ability to better ensure correctness of protocol
implementations as protocols evolve.

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.

@kstich
Copy link
Contributor

kstich commented Feb 24, 2020

Should authDefinition receive the same treatment, allowing aws.auth#sigv4 to specify it utilizing aws.auth#unsignedPayload?

@mtdowling mtdowling changed the title Add protocol trait requirements [0.10] Add protocol trait requirements Feb 24, 2020
Protocol traits now list the traits that protocol implementations must
understand in order to successfully implement the protocol. This
provides the ability to better ensure correctness of protocol
implementations as protocols evolve.
@mtdowling mtdowling changed the title [0.10] Add protocol trait requirements [0.10] Add protocol and auth trait requirements Feb 24, 2020
@mtdowling
Copy link
Member Author

mtdowling commented Feb 24, 2020

Sure. I updated the auth trait to also have a list of trait requirements. We discussed this and don't see it as a general abstraction at this point (like a new property of trait definitions). These requirements are really a function of serialization and deserialization specific traits, which is what auth and protocol traits are.

docs/source/spec/core.rst Show resolved Hide resolved
@mtdowling mtdowling merged commit a2d14fb into 0.10 Feb 24, 2020
@mtdowling mtdowling deleted the protocol-trait-requirements branch February 27, 2020 20:48
@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.

3 participants