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

[Backport 1.17] fix: List operation returns null if the value is not a list #907

Merged
merged 3 commits into from
Aug 26, 2024

Commits on Aug 26, 2024

  1. test: Verify list operations for invalid type

    Add test cases to verify that a list operation (filter, access, some, every) returns null if the value is not a list.
    
    (cherry picked from commit 1cbdcdc)
    saig0 authored and github-actions[bot] committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    dd9140b View commit details
    Browse the repository at this point in the history
  2. fix: List operation returns null for invalid type

    Adjust the behavior to return null if a list operation (filter, access, some, every) is applied to a value that is not a list.
    
    (cherry picked from commit 5985552)
    saig0 authored and github-actions[bot] committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    c85e0b7 View commit details
    Browse the repository at this point in the history
  3. refactor: Group test cases by operation

    Group the test cases by their list operation to have a better overview.
    
    (cherry picked from commit 65cf32d)
    saig0 authored and github-actions[bot] committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    67a6bd8 View commit details
    Browse the repository at this point in the history