Skip to content

fix: regenerating types after removing ObjectOrUserset from API #173

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

willvedd
Copy link
Contributor

@willvedd willvedd commented Jun 20, 2024

Description

ObjectOrUserset was removed in #171 but types were not regenerated. This PR introduces those chagnes.

References

Original PR: #171

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

@willvedd willvedd requested a review from a team as a code owner June 20, 2024 18:25
@rhamzeh
Copy link
Member

rhamzeh commented Jun 20, 2024

@willvedd can you make sure you are updating the swagger file too?

@rhamzeh
Copy link
Member

rhamzeh commented Jun 20, 2024

We should probably hav a CI job that blocks PRs that don't regen the protos and the swagger

@willvedd
Copy link
Contributor Author

We should probably hav a CI job that blocks PRs that don't regen the protos and the swagger

We actually had that for the swagger file but not for the generated types. I opened #174 to address this. Once this PR gets merged in, that PR should begin passing all checks!

@willvedd willvedd merged commit ed30a57 into main Jun 20, 2024
7 checks passed
@willvedd willvedd deleted the fix-regenerating-types-removing-objectoruserset branch June 20, 2024 21:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants