parse-community / Parse-SDK-iOS-OSX

The Apple SDK for Parse Platform (iOS, macOS, watchOS, tvOS)
https://parseplatform.org
Other
2.81k stars 865 forks source link

feat: Add idempotency #1790

Closed dplewis closed 3 weeks ago

dplewis commented 1 month ago

New Pull Request Checklist

Issue Description

Idempotency is a feature on the server to prevent duplicate requests. A unique requestId must be added per request to ensure it works.

https://github.com/parse-community/parse-server/pull/6748

Approach

Add a requestId to every request. This feature must be enabled on the server to work. Add DUPLICATE_REQUEST error code

TODOs before merging

parse-github-assistant[bot] commented 1 month ago

Thanks for opening this pull request!

dplewis commented 3 weeks ago

This is good to merge

parseplatformorg commented 3 weeks ago

🎉 This change has been released in version 4.1.0