Sqldelight `1.5.3` generates the following code in...
# squarelibraries
d
Sqldelight
1.5.3
generates the following code in
DatabaseImpl
and compilation fails with `Unresolved reference: _value`:
Copy code
public override fun select_default_with_query(`value`: String): Query<UserWithSubscripiton> =
      select_default_with_query(value_) { id, username, avatarTemplate, email -> ... }
Query is like this (simplified):
Copy code
select_default_with_query:
SELECT *
FROM UserWithSubscripiton
WHERE username LIKE ('%' || ?1 || '%') OR email LIKE ('%' || ?1 || '%')
I copied it from the project with older sqldelight version where it worked. Is this a bug or am I doing this wrong somehow? Oh, and this is a KMP project now.