Skip to content

Commit

Permalink
fix: fix UUID equal/not equal
Browse files Browse the repository at this point in the history
  • Loading branch information
Idane committed Mar 16, 2023
1 parent 5680970 commit 4df8a94
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class FilterFieldsBuilder<RootType : PersistentEntity>(private val filterFields:
)
}

infix fun KProperty1<RootType, UUID>.Equal(target: UUID) {
infix fun KProperty1<RootType, UUID?>.Equal(target: UUID) {
filterFields += FilterField(
effectiveName,
FilterFieldOperation.Equal,
Expand Down Expand Up @@ -148,7 +148,7 @@ class FilterFieldsBuilder<RootType : PersistentEntity>(private val filterFields:
)
}

infix fun KProperty1<RootType, UUID>.NotEqual(target: UUID) {
infix fun KProperty1<RootType, UUID?>.NotEqual(target: UUID) {
filterFields += FilterField(
effectiveName,
FilterFieldOperation.NotEqual,
Expand Down

0 comments on commit 4df8a94

Please sign in to comment.