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

Allow filters to use any filter type #85

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

optijon
Copy link
Contributor

@optijon optijon commented Apr 8, 2024

The docs mention the use of any of the following filter types:

{
  foo: 'bar',          # label=value  (equality)
  foo: { not: 'bar' }, # label!=value (inequality)
  foo: true,           # label=       (presence)
  foo: false,          # label!=      (absence)
  foo: [1, 2],         # label=(1,2)  (any value)
  foo: { not: [1, 2] } # label!=(1,2) (no values)
}

Validation rules prevent these type from being used.

@optijon optijon changed the title Allow filters to use any query value Allow filters to use any filter type Apr 8, 2024
Copy link
Owner

@dzunk dzunk left a comment

Choose a reason for hiding this comment

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

@dzunk dzunk changed the base branch from master to fix-filters April 18, 2024 03:33
@dzunk dzunk merged commit 2072c1a into dzunk:fix-filters Apr 18, 2024
0 of 10 checks passed
@dzunk
Copy link
Owner

dzunk commented Apr 18, 2024

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