Skip to content
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

Add relationships filtering to bulk export, delete and watch APIs and expand the filtering support #90

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

josephschorr
Copy link
Member

No description provided.

@josephschorr josephschorr force-pushed the filtering-improvements branch 2 times, most recently from 596ca3e to ceba4ce Compare February 1, 2024 18:32
message RelationshipFilter {
// resource_type is the *optional* resource type of the relationship.
// NOTE: It is not prefixed with "optional_" for legacy compatibility.
Copy link
Contributor

Choose a reason for hiding this comment

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

it's the number 1 that provides the compatibility, right? are you concerned about the generated client APIs changing?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I'm concerned it'll break existing client code

Copy link
Contributor

Choose a reason for hiding this comment

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

It shouldn't break existing client code, it would break when someone updates their version and finds codegen changed the field name

Copy link
Member Author

Choose a reason for hiding this comment

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

That's what I meant, but it is still a "breaking" change in the sense that moving a minor version of the client library could break existing callers. We'd either have to major version all the client libraries or just not change it

@vroldanbet vroldanbet merged commit 1e53496 into authzed:main Feb 6, 2024
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants