K
Kysely•4mo ago
tzezar

problem with nested jsonArrayFrom and jsonObjectFrom

Typescript raise error when attempt to reference to relations in nested json helpers is made. Is this syntax error or kysely limitation? https://kyse.link/SL7ct
Solution:
Hey 👋 You can't just use the same eb for all depths. The one you've used doesn't have line nor subline in its query context. This works:...
Jump to solution
1 Reply
Solution
Igal
Igal•4mo ago
Hey 👋 You can't just use the same eb for all depths. The one you've used doesn't have line nor subline in its query context. This works: https://kyse.link/2WHJH
Want results from more Discord servers?
Add your server