Skip to content

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

Merged
vroldanbet merged 1 commit intoauthzed:mainfrom
josephschorr:filtering-improvements
Feb 6, 2024
Merged

Add relationships filtering to bulk export, delete and watch APIs and expand the filtering support#90
vroldanbet merged 1 commit intoauthzed:mainfrom
josephschorr:filtering-improvements

Conversation

@josephschorr
Copy link
Copy Markdown
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
@josephschorr josephschorr force-pushed the filtering-improvements branch from ceba4ce to 68857c7 Compare February 1, 2024 18:35
// can be significantly slower.
message RelationshipFilter {
// resource_type is the *optional* resource type of the relationship.
// NOTE: It is not prefixed with "optional_" for legacy compatibility.
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.

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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