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

Clarify that filters are additive #114

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Clarify that filters are additive #114

merged 1 commit into from
Jun 3, 2024

Conversation

nicksnyder
Copy link
Member

@nicksnyder nicksnyder commented May 31, 2024

The documentation on ResourceRef for both List{Commits,Labels} is phrased in a way that could be confused to mean the endpoint always returns the specified results, but that doesn't make sense because there are additional filtering fields on each of these RPCs.

This PR updates the documentation to clarify that filter fields are additive (i.e. ANDed together) to the resource_ref filter.

Slack discussion: https://bufprivate.slack.com/archives/C02KXVDB23B/p1717182975280679

@nicksnyder nicksnyder requested a review from bufdev May 31, 2024 20:47
@nicksnyder nicksnyder merged commit 3a0f505 into main Jun 3, 2024
8 checks passed
@nicksnyder nicksnyder deleted the ns/docs branch June 3, 2024 19:21
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.

2 participants