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

fix(odatasql): Ensure that $filter works for complex types #742

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

Tehsmash
Copy link
Contributor

@Tehsmash Tehsmash commented Oct 5, 2023

Description

Sometimes we want to be able to $filter on the complex fields not just the leaf fields within them for example checking if they are null. The recent change to the odata validation meant that these were getting rejected.

Closes #737

Type of Change

[X] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

Sometimes we want to be able to $filter on the complex fields not just
the leaf fields within them for example checking if they are null. The
recent change to the odata validation meant that these were getting
rejected.
@Tehsmash Tehsmash requested a review from a team as a code owner October 5, 2023 12:42
@github-actions
Copy link

github-actions bot commented Oct 5, 2023

Hey!

Your images are ready:

  • ghcr.io/openclarity/vmclarity-apiserver-dev:pr742-424af968ef50a3217ae348a568889502b88a8eb2
  • ghcr.io/openclarity/vmclarity-orchestrator-dev:pr742-424af968ef50a3217ae348a568889502b88a8eb2
  • ghcr.io/openclarity/vmclarity-ui-backend-dev:pr742-424af968ef50a3217ae348a568889502b88a8eb2
  • ghcr.io/openclarity/vmclarity-ui-dev:pr742-424af968ef50a3217ae348a568889502b88a8eb2
  • ghcr.io/openclarity/vmclarity-cli-dev:pr742-424af968ef50a3217ae348a568889502b88a8eb2

@Tehsmash Tehsmash added this pull request to the merge queue Oct 6, 2023
Merged via the queue into main with commit 84c01b5 Oct 6, 2023
26 checks passed
@Tehsmash Tehsmash deleted the fix_filter_for_complex_types branch October 6, 2023 10:28
@chrisgacsal chrisgacsal mentioned this pull request Nov 6, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

UI Failed to get riskiest assets vulnerabilities
3 participants