Skip to content

Commit

Permalink
Merge branch 'feat/sql-query-connector-on-wasm32-unknown-unknown' int…
Browse files Browse the repository at this point in the history
…o feat/query-core-on-wasm32-unknown-unknown
  • Loading branch information
jkomyno committed Nov 17, 2023
2 parents edf0f4e + e79cb1f commit e52500f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ mod conversion_error {
runner,
r#"query { findManyTestModel { field } }"#,
2023,
"Inconsistent column data: Conversion failed: number must be an integer in column 'field'"
"Inconsistent column data: Conversion failed: number must be an integer in column 'field', got '1.84467440724388e19'"
);

Ok(())
Expand Down Expand Up @@ -74,7 +74,7 @@ mod conversion_error {
runner,
r#"query { findManyTestModel { field } }"#,
2023,
"Inconsistent column data: Conversion failed: number must be an i64 in column 'field'"
"Inconsistent column data: Conversion failed: number must be an integer in column 'field', got '1.84467440724388e19'"
);

Ok(())
Expand Down
7 changes: 6 additions & 1 deletion query-engine/connectors/sql-query-connector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ tracing-futures = "0.2"
uuid.workspace = true
opentelemetry = { version = "0.17", features = ["tokio"] }
tracing-opentelemetry = "0.17.3"
quaint = { path = "../../../quaint" }
cuid = { git = "https://github.com/prisma/cuid-rust", branch = "wasm32-support" }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
quaint.workspace = true

[target.'cfg(target_arch = "wasm32")'.dependencies]
quaint = { path = "../../../quaint" }

[dependencies.connector-interface]
package = "query-connector"
path = "../query-connector"
Expand Down

0 comments on commit e52500f

Please sign in to comment.