-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression: the trait PgHasArrayType
is not implemented for serde_json::Value
#1721
Comments
Seems to be a bad interaction between various changes in #1385 I think adding a |
I gave it a try but now there's a couple conflicting impls (between
|
Another possibility might be to change this bound: https://github.com/launchbadge/sqlx/blob/master/sqlx-core/src/postgres/types/array.rs#L20 to |
Yeah it looks like |
That worked, let me open a PR to see if it nothing else broke. |
After an update to sqlx 0.5.10 I'm now seeing this error:
The underlying code is trying to bind() a
Vec<Option<JsonValue>>
for an UNNEST statement.Cargo.toml is:
Reverting to sqlx 0.5.7 makes the error go away.
If there's anything I can do to help track this down please let me know. Thanks!
The text was updated successfully, but these errors were encountered: