will/crystal-pg

Error: no overload matches 'PG::Decoders.array_decoder' with type UUID.class

jwoertink opened this issue · 1 comments

The PG::Decoders.array_decoder method supports a lot of the types that postgres supports, but doesn't include UUID.

I'm using version: 0.22.1

Looks like it's just a matter of adding UUID to this list

{% for type in %w(Bool Char Int16 Int32 String Int64 Float32 Float64 Numeric Time).map(&.id) %}