Sweetening the syntactic sugar for the where clause (FieldsWhere) #162
Replies: 2 comments 1 reply
-
@jayasuryat, I just tried it out... IT IS GENIUS MY FRIEND!!! PURE GENIUS!!! 🤯 🤯 🤯 🤯 🤯 🤯 🤯 I just tried it out and it works perfectly! I It's so much better than my current implementation because...
I have reopened issue #150 and assigned it to you. Please delete the entire I will be awarding you a gold medal in Reddit once it is merged!!!
|
Beta Was this translation helpful? Give feedback.
-
@jayasuryat, I merged your PR! I also left a comment on it; #163 (comment) Thanks again =) |
Beta Was this translation helpful? Give feedback.
-
The syntactic sugar provided by the
contacts.core.util.FieldsWhere.kt
can be boiled down into only two functions using Kotlin'soperator fun invoke
overload.These two methods seem enough to the job so far :
Checked against the example given in the Readme file, and it is working fine.
Would like to know your opinion on this approach, and are there any more cases to consider?
Beta Was this translation helpful? Give feedback.
All reactions