Hi there - I was experimenting with setting a custom type deserializer and I think the existing documentation is out of date. Currently the documentation describes the deserializer function as taking just the value to deserialize: https://github.com/leafo/pgmoon/blob/2c25f83e91ca6ecc4f4db7960f68a4a0047b7b78/README.md?plain=1#L788-L790 But what I've observed is the postgres connection is the first argument, and the value to deserialize is the second argument: https://github.com/leafo/pgmoon/blob/2c25f83e91ca6ecc4f4db7960f68a4a0047b7b78/pgmoon/init.lua#L940-L945 I'll open a PR with a change
Activity
update set_type_deserializer documentation