-
Notifications
You must be signed in to change notification settings - Fork 89
Add blog post: Ignore Duplicate Writes feature announcement #1132
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
Conversation
- Announce new on_duplicate and on_missing parameters for Write API - Include SDK documentation links for all five SDKs - Thank @phamhieu for JavaScript SDK contribution - Provide examples
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughA new blog post is added announcing a Write API feature update. The post describes the ability to ignore duplicate writes via Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
🧹 Nitpick comments (1)
blog/ignore-duplicate-writes-announcement.md (1)
78-80: Reduce exclamation marks for a more professional tone.The static analysis tool flagged the excessive use of exclamation marks in this section. Consider removing one or two to maintain a more measured, professional tone while keeping the enthusiasm.
- ## We want your feedback! + ## We want your feedback - Please reach out through our [community channels](https://openfga.dev/docs/community) with any questions or feedback. + Please reach out through our [community channels](https://openfga.dev/docs/community) with any questions or feedback
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
blog/ignore-duplicate-writes-announcement.md(1 hunks)
🧰 Additional context used
🪛 GitHub Actions: Deploy PR previews
blog/ignore-duplicate-writes-announcement.md
[error] 1-1: Blog author with key "openfga" not found in the authors map file. Valid author keys are: aaguiar, eharris, miparnisari, hello-caleb.
🪛 GitHub Actions: Test deployment
blog/ignore-duplicate-writes-announcement.md
[error] 1-1: Blog author with key "openfga" not found in the authors map file. Valid author keys are: aaguiar, eharris, miparnisari, hello-caleb.
🪛 LanguageTool
blog/ignore-duplicate-writes-announcement.md
[style] ~78-~78: Using many exclamation marks might seem excessive (in this case: 3 exclamation marks for a text that’s 2030 characters long)
Context: ...ssing-tuples). ## We want your feedback! Please reach out through our [communit...
(EN_EXCESSIVE_EXCLAMATION)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: markdown-link-check-md
🔇 Additional comments (2)
blog/ignore-duplicate-writes-announcement.md (2)
64-76: Verify SDK documentation links are correct.The blog post references specific README sections for each SDK with anchor links (
#conflict-options-for-write-operations). Please confirm these sections exist in each repository and the links resolve correctly.
12-30: Content quality looks good.The problem statement is clear and relatable, the solution is well-explained, and the feature benefits are articulated effectively. The narrative flow is smooth and appropriate for a feature announcement.
- Add Tyler Nix as valid blog author in authors.yml
|
Updating SDK order Co-authored-by: Raghd Hamzeh <raghd.hamzeh@openfga.dev>
Co-authored-by: Raghd Hamzeh <raghd.hamzeh@openfga.dev>
Co-authored-by: Raghd Hamzeh <raghd.hamzeh@openfga.dev>
bd6e328 to
8e12aa3
Compare
8e12aa3 to
0508f33
Compare
dyeam0
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Summary
This PR adds a blog post announcing the new "Ignore Duplicate Writes" feature in OpenFGA, which allows developers to handle duplicate writes and missing deletes gracefully in the Write API.
What's New
🎉 Feature Announcement
on_duplicate: "ignore"parameter for writeson_missing: "ignore"parameter for deletes📝 Blog Post Content
🙏 Community Recognition
Blog Post Highlights
The Problem
Previously, OpenFGA would reject entire Write requests if they contained a single duplicate tuple or attempted to delete a non-existent tuple, forcing developers to build complex error handling.
The Solution
Two new optional parameters:
on_duplicate: "ignore"- Skip existing tuples instead of failingon_missing: "ignore"- Skip non-existent tuples during deletionSDK Support
Feature is available across all OpenFGA SDKs:
Content Quality
This announcement will help developers discover and adopt this workflow-improving feature for their data import and synchronization needs.
Summary by CodeRabbit
New Features
Documentation