You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automatic unwrapping of value classes when they wrap over types that are "automatically wrapped" by terpal-sql #18
There a a few ways to get rid of the boilerplate here. The first way is to use contextual serialization and use Param.contextual. If you want even less boilerplate you can define a param-wrapper inside of the package (io.exoquery.sql). So something like:
Activity
cies commentedon Oct 22, 2025
Also when deserializing I now do the very verbose:
cies commentedon Oct 22, 2025
It seems that kotlinx.serialization handles this well (at least with JSON it does):
deusaquilus commentedon Nov 13, 2025
There a a few ways to get rid of the boilerplate here. The first way is to use contextual serialization and use
Param.contextual. If you want even less boilerplate you can define a param-wrapper inside of the package (io.exoquery.sql). So something like:Give that a shot and see if it works.
(P.S. io.exoquery.sql will eventually be renamed to io.exoquery.lang)