Skip to content

New instrumentation that implements support for idempotency keys.#1572

Closed
ellebrecht wants to merge 6 commits intographql-java:masterfrom
ellebrecht:master
Closed

New instrumentation that implements support for idempotency keys.#1572
ellebrecht wants to merge 6 commits intographql-java:masterfrom
ellebrecht:master

Conversation

@ellebrecht
Copy link
Contributor

Recently I had to implement support for idempotency keys in GraphQL mutations and would like to contribute the patch back to this wonderful project that I have used for almost two years now.
Idempotency keys are useful to guarantee at-most-once semantics in situations where a client may lose server responses (in my case connectivity or power loss) and implements retry mechanisms.
In my use case we have opted for Relay-compliant mutations and reuse the mandatory clientMutationId input field as idempotency key.
I have provided abstractions to make it easy to adapt to other use cases as well.
Hope you find this useful.

@ellebrecht
Copy link
Contributor Author

Hi Andi, great meeting you at GraphQL Conf in Berlin, thanks again for the good talk.
Let me know if there is any info missing on this PR or if you need any changes.
Cheers!
Mario

@bbakerman
Copy link
Member

Closing as out of date

@bbakerman bbakerman closed this Aug 5, 2023
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