Closed divyenduz closed 4 years ago
@divyenduz test-utils
don’t support scalar lists because I couldn’t find documentation for it. Is it available yet?
Supported in the last version.
I still get the same query built (string in place of scalar array) when I use test-utils from master!
@divyenduz I cannot reproduce. Have you, by chance, forgot to rebuild runtime and build files?
Yes, you are correct, I was on an older branch! Sorry for the false alarm. CI is spinning again! Will reopen, if the problem persists :)
~Note: I have only seen this for strings so far but this might also apply to all scalar lists.~ Saw another case for Int type.
Note: So far, I have only seen this happening in Postgres. I think we removed scalar lists when not natively supported by the database (TODO: confirm this).
Example: query generated by prisma-test-utils for this table:
Internal notes:
Test utils database(s) affected:
The type of field in discource is
inet
though. Should it map back to be a string?