Skip to content

Commit

Permalink
feat: add datatype conversions between JS PlanetScale <-> QuaintValue (
Browse files Browse the repository at this point in the history
…#4080)

* feat(playground): use ESM, use PlanetScale

* feat(playground): update Prisma example to retrieve (almost) every type from PlanetScale

* chore(js-connectors): add missing dependencies

* chore(playground): lock node.js deps

* feat(js-connectors): add support for (almost) all datatypes for PlanetScale

* chore: hide .envrc

* feat(playground): prismify smoke test data, add docs, rename "npm run dev" -> "npm run planetscale"

* feat(js-connectors): add unit tests for Planetscale datatype conversions (success cases only atm)

* chore: updated README

* chore: rename Driver -> Connector

* chore: fix clippy

* Revert "chore: rename Driver -> Connector"

This reverts commit 7ac25a5.

* Revert "chore: updated README"

This reverts commit 39890d0.

* chore: fix conflicts on pnpm-lock.yaml

* Revert "chore: hide .envrc"

This reverts commit bc2b968.

* Revert "feat(playground): update Prisma example to retrieve (almost) every type from PlanetScale"

This reverts commit e683cdd.

* Revert "feat(playground): use ESM, use PlanetScale"

This reverts commit 1539144.

* Remove comment

Co-authored-by: Miguel Fernández <fernandez@prisma.io>

* chore: update comment

* chore: update formatting

---------

Co-authored-by: Miguel Fernández <fernandez@prisma.io>
  • Loading branch information
jkomyno and Miguel Fernández committed Jul 25, 2023
1 parent 39ba9b2 commit d317c7c
Show file tree
Hide file tree
Showing 3 changed files with 467 additions and 27 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions query-engine/js-connectors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ quaint.workspace = true
tracing = "0.1"
tracing-core = "0.1"

# Note: these deps are temporarily specified here to avoid importing them from tiberius (the SQL server driver).
# They will be imported from quaint-core instead in a future PR.
num-bigint = "0.4.3"
bigdecimal = "0.3.0"
chrono = "0.4.20"

napi.workspace = true
napi-derive.workspace = true

Expand Down
Loading

0 comments on commit d317c7c

Please sign in to comment.