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

Remove idempotency token trait #571

Merged
merged 2 commits into from
Jun 30, 2021
Merged

Remove idempotency token trait #571

merged 2 commits into from
Jun 30, 2021

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Jun 30, 2021

Description of changes:

There is no compelling reason to provide your own implementation of the IdempotencyToken trait. Exposing this trait left us open to unnecessary backwards compatibility risks. Instead,
this commit refactors idempotency token to be a simple struct/enum.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

There is no compelling reason to provide your own implementation of the `IdempotencyToken` trait. Exposing this trait left us open to unecessary backwards compatibility risks. Instead,
this commit refactors idempotency token to be a simple struct/enum.
@rcoh rcoh requested a review from jdisanti June 30, 2021 22:38
@rcoh rcoh merged commit bef5278 into main Jun 30, 2021
@rcoh rcoh deleted the remove-idempotency-trait branch June 30, 2021 23:26
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