Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Feature] Add SDK support for ignoring errors on duplicate writes or missing deletes #235

Copy link
Copy link
@dyeam0

Description

@dyeam0
Issue body actions

Checklist

Describe the problem you'd like to have solved

There are significant developer pain points when errors are received from the following operations:

  • Writing a tuple that already exists
  • Deleting a tuple that does not exist

Additional logic for error handling must be implemented to avoid or correct the situation, adding unnecessary complexity to client-side code and adding time required to complete operations due to retry scenarios.

Describe the ideal solution

OpenFGA v1.10.0 introduced support in the API for ignoring errors during duplicate writes (using the on_duplicate API property) and missing deletes (using the on_missing API property). The API solution is described in the OpenFGA roadmap item openfga/roadmap#79.

The SDK needs to add equivalent support. Refer to openfga/sdk-generator#610 for additional solution description.

Alternatives and current workarounds

No response

References

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestNew feature or request

Projects

Status

Done
Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.