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: EXPOSED-114 Type parameter can't be inferred for EntityID with eq/neq op #1961

Merged
merged 2 commits into from
Jan 9, 2024

Commits on Jan 8, 2024

  1. fix: EXPOSED-114 Type parameter can't be inferred for EntityID with e…

    …q/neq op
    
    An IDE warning is shown stating incompatible upper bounds (which will become an
    error in later Kotlin version) when using a comparison operator between an
    EntityID column and a column of matching non-EntityID type.
    
    An overload to handle EntityID columns against other Expressions (instead of
    just values) has been added for every relevant comparison operator.
    
    @LowPriorityInOverloadResolution is added to ensure no compilation ambiguity
    error (as has already been done for eq/neq).
    bog-walk committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    bc47e7c View commit details
    Browse the repository at this point in the history
  2. fix: EXPOSED-114 Type parameter can't be inferred for EntityID with e…

    …q/neq op
    
    Add symmetric operators for new overloads and adjust test.
    bog-walk committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    59354a1 View commit details
    Browse the repository at this point in the history