Add test to discover which array types work well with DSL for now.
Results were somewhat disappointing, because the mechanism for forwarding postgres type names for arrays is not good enough (relies on sql type name from type class instance)
It's hard to fix this optimally, because we can't change library typeclasses
An issue we need more wrapper types to solve is that in postgres, arrays of varchar and text are not comparable!
This PR goes some way towards fixing the most dire things, but it was a mistake to reuse sql type names from the typeclass instances of the database libraries.
The fix for anorm is a hack, and the only path foward is really to not use ParameterMetaData at all.
varchar
andtext
are not comparable!This PR goes some way towards fixing the most dire things, but it was a mistake to reuse sql type names from the typeclass instances of the database libraries.
The fix for anorm is a hack, and the only path foward is really to not use
ParameterMetaData
at all.