shuttle-hq / synth

The Declarative Data Generator
https://www.getsynth.com/
Apache License 2.0
1.39k stars 109 forks source link

fix: correctly encode postgres integer arrays #152

Closed llogiq closed 2 years ago

llogiq commented 3 years ago

This fixes the problem that we could not generate integer[] columns. Note that this is for now just a workaround, because sqlx' Encode trait does not yet support custom types that encode into slices of other custom types implementing Encode, so generating Integer[][] won't work yet.