will / crystal-pg

a postgres driver for crystal
BSD 3-Clause "New" or "Revised" License
462 stars 77 forks source link

Properly encode null values in arrays #244

Closed robcole closed 2 years ago

robcole commented 2 years ago

Fixes an error when attempting to insert arrays containing nil values.

Co-authored-by: Alex Piechowski alex@piechowski.io

will commented 2 years ago

Thanks! I just merged this as 2d21b990818788fe355fca167db3eeb08f5b3b2b but since I did the rebase on my machine instead of with the github button I guess github couldn't figure it out.

robcole commented 2 years ago

Thanks! I just merged this as 2d21b990818788fe355fca167db3eeb08f5b3b2b but since I did the rebase on my machine instead of with the github button I guess github couldn't figure it out.

Thanks @will!