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

feat: Add idempotency feature to detect duplicate requests due to network conditions #1208

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

abubkr-hago
Copy link

@abubkr-hago abubkr-hago commented Aug 15, 2024

New Pull Request Checklist

Issue Description

ParseObject saved multiple times on slow internet connection

Closes: #764

Approach

Add X-Parse-Request-Id header to requests allowing parse-server to handle idempotency.

TODOs before merging

Copy link

parse-github-assistant bot commented Aug 15, 2024

Thanks for opening this pull request!

  • 🎉 We are excited about your hands-on contribution!

@mtrezza mtrezza requested a review from a team September 27, 2024 11:27
Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

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

It seems that this always adds the req ID header to all requests. This should be optional because if the feature is not in use it just causes more traffic costs. Compare other Parse client SDKs how this is implemented.

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.

ParseObject saved multiple times on slow internet connection
2 participants