Nacho Ruiz Martin
04/09/2024, 7:32 AMval columns = Columns.raw("""
id,
name,
cities (
id,
name
)
""".trimIndent())
val country = supabase.from("countries")
.select(
columns = columns
)
.decodeSingle<Country>()
but I have some errors because the parse complains about the included “\n” so I have to add
.replace("\n", "")
to the raw string to make it work.
Is this a bug or am I doing something wrong?Jan
04/09/2024, 12:11 PMNacho Ruiz Martin
04/09/2024, 12:42 PM