Steve Baldwin
Steve Baldwin
I've done a bit more digging, and it seems that the exception is due to the notices raised during function execution. I created two small test functions: ``` log=# create...
I added: ``` SET client_min_messages=WARNING; ``` to my function and problem solved. Happy now !!!
Thanks Will. While you have the hood open, another edge case (due to my stupidity): ``` require "db" require "pg" def blah uri = URI.new uri.scheme = "postgres" uri.user =...
Is it possible for class-transformer to remove 'harmful' attributes without the sledgehammer `forbidUnknownValues`? We have used class-validator extensively in our projects and in most cases decorate expected payloads completely. However...
> @horrendo You might be confusing `forbidUnknownValues` with `forbidNonWhitelisted`. However the docs are not very clear about this, and I did not check the code. Thanks @fhp , that's very...
> Is there a something more to do using class-validator with DTO and Swagger?. Did you set `whitelist: true` in the options?
That's awesome Martin. Thanks for such a quick response. I've seen ROWID's from IOT's significantly longer than 100 bytes in some of my 'real life' tables. We don't use them...