Closed jwosty closed 1 year ago
Thanks for posting the issue and the fix. This should be resolved for all array types now in SqlHydra.Cli v2.0.1. https://github.com/JordanMarr/SqlHydra/releases/tag/v2.0.1
Sweet, thank you for being so proactive on this. I really like this library. I want to like SqlProvider but it's just way too flaky.
fyi, you don’t need to maintain your own Tables
module anymore because tables can now be generated:
fyi, you don’t need to maintain your own
Tables
module anymore because tables can now be generated:
Very nice!
I have the following table:
And I query it like this:
But for rows where
password_salt
orpassword_hash
are not null, SqlHydra throws this exception:The problem can be fixed by changing lines in
GetPrimitiveReader
(inDatabase.fs
) from:to:
I'm working around this for now by manually making that change, but a fix in the code generator itself would be great.
I suspect that all array types are affected, not just
byte[]
in particular.