Skip to content

chore: sync generated code with sdk-generator - #229

Merged
SoulPancake merged 2 commits into
mainfrom
chore/generator-sync
Jul 16, 2026
Merged

chore: sync generated code with sdk-generator#229
SoulPancake merged 2 commits into
mainfrom
chore/generator-sync

Conversation

@SoulPancake

Copy link
Copy Markdown
Member

Description

What problem is being solved?

How is it being solved?

What changes are made to solve it?

References

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

Copilot AI review requested due to automatic review settings July 16, 2026 14:45
@SoulPancake
SoulPancake requested review from a team as code owners July 16, 2026 14:45
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@SoulPancake, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 35 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 472fb70c-0fd1-4656-bf12-fec79596a9f7

📥 Commits

Reviewing files that changed from the base of the PR and between d204c77 and 12754b7.

📒 Files selected for processing (7)
  • README.md
  • src/OpenFga.Sdk/Constants/FgaConstants.cs
  • src/OpenFga.Sdk/Model/CreateStoreResponse.cs
  • src/OpenFga.Sdk/Model/GetStoreResponse.cs
  • src/OpenFga.Sdk/Model/Store.cs
  • src/OpenFga.Sdk/Model/Tuple.cs
  • src/OpenFga.Sdk/Model/TupleChange.cs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/generator-sync

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR synchronizes generated .NET SDK artifacts with the current sdk-generator output, updating generated model code and a small set of constants/docs to match the latest generated state.

Changes:

  • Updates TupleChange equality/hash logic around Timestamp.
  • Updates the SDK UserAgent constant to be derived from SdkVersion.
  • Applies minor README formatting/whitespace adjustments in examples.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/OpenFga.Sdk/Model/TupleChange.cs Regenerated equality/hash logic for Timestamp in the model.
src/OpenFga.Sdk/Constants/FgaConstants.cs Makes UserAgent derive from SdkVersion instead of hardcoding the full string.
README.md Minor whitespace/formatting adjustments in code snippets/sections.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/OpenFga.Sdk/Model/TupleChange.cs
Comment thread src/OpenFga.Sdk/Model/TupleChange.cs Outdated
@SoulPancake
SoulPancake added this pull request to the merge queue Jul 16, 2026
Merged via the queue into main with commit 41a63d4 Jul 16, 2026
25 checks passed
@SoulPancake
SoulPancake deleted the chore/generator-sync branch July 16, 2026 15:35
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.

3 participants