Skip to content

Commit

Permalink
Add Support For Postgres Vec<T> (#159)
Browse files Browse the repository at this point in the history
* add support for postgres array
  • Loading branch information
jsievenpiper authored Dec 16, 2023
1 parent 43aff8e commit d2ddd23
Show file tree
Hide file tree
Showing 6 changed files with 585 additions and 616 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ categories = ["database"]
[dependencies]
async-graphql = { version = "6.0.7", features = ["decimal", "chrono", "dataloader", "dynamic-schema"] }
sea-orm = { version = "0.12.0", default-features = false, features = ["seaography"] }
itertools = { version = "0.11.0" }
itertools = { version = "0.12.0" }
heck = { version = "0.4.1" }
thiserror = { version = "1.0.44" }
async-trait = { version = "0.1" }
Expand All @@ -32,6 +32,6 @@ with-time = ["sea-orm/with-time", "async-graphql/time"]
with-uuid = ["sea-orm/with-uuid"]
with-decimal = ["sea-orm/with-rust_decimal", "async-graphql/decimal"]
with-bigdecimal = ["sea-orm/with-bigdecimal", "async-graphql/bigdecimal"]
# with-postgres-array = ["sea-orm/postgres-array"]
with-postgres-array = ["sea-orm/postgres-array"]
# with-ipnetwork = ["sea-orm/with-ipnetwork"]
# with-mac_address = ["sea-orm/with-mac_address"]
# with-mac_address = ["sea-orm/with-mac_address"]
2 changes: 1 addition & 1 deletion examples/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lazy_static = { version = "1.4.0" }
[dependencies.seaography]
path = "../../"
version = "^1.0.0-rc.2" # seaography version
features = ["with-decimal", "with-chrono"]
features = ["with-decimal", "with-chrono", "with-postgres-array"]

[dev-dependencies]
serde_json = { version = "1.0.103" }
Expand Down
Loading

0 comments on commit d2ddd23

Please sign in to comment.