Hi
After upgrading crystal to version v.35:
db = DB.open "postgres://username:password@192.168.1.1/mydb"
in my main application I got this error:
In /usr/share/crystal/src/io.cr:845:34
845 | def write_byte(byte : UInt8) : Int64
^
Error: method must return Int64 but it is returning (Int64 | Nil)
after create a simple new file with only db.open
In lib/pg/src/pq/connection.cr:362:13
362 | ctx.update(inner.to_unsafe, inner.bytesize.to_u32)
^-----
Error: wrong number of arguments for 'OpenSSL::Digest#update' (given 2, expected 1)
I am using will/crystal-pg