issues
search
oyvindberg
/
typo
Typed Postgresql integration for Scala. Hopes to avoid typos
https://oyvindberg.github.io/typo/
MIT License
101
stars
11
forks
source link
Introduce "custom types"
#9
Closed
oyvindberg
closed
1 year ago
oyvindberg
commented
1 year ago
to handle all the weird edge cases around (arrays of) postgres types.
enables cross-compilation to scala.js where you generate one version of the code with just json codecs, and one version for backend with db code
now have somewhere to put orphan instances which have gone into parent package object for now. note that there are still some left still
for later:
unary custom types should be encoded as
AnyVal
s
all other usage of
PGobject
should also receive custom types (supporting all types will be on-going)
for later:
AnyVal
sPGobject
should also receive custom types (supporting all types will be on-going)