这是indexloc提供的服务,不要输入任何密码
Skip to content

refactor: remove v2 types #71

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

Merged
merged 48 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
788c38a
add failing test
hallettj May 1, 2024
04a2d1e
wip: more tests
hallettj May 7, 2024
01f9eed
wip: query-plan
hallettj May 7, 2024
7807b09
wip:
hallettj May 13, 2024
e73fceb
wip:
hallettj May 13, 2024
a89b292
wip: more changes, including simplifying response serialization
hallettj May 14, 2024
1192c14
update explain handler
hallettj May 14, 2024
f708b4d
update mutation response
hallettj May 15, 2024
ac2dcc9
wip: progress, including binary comparisons
hallettj May 20, 2024
e1fddf2
wip: unrelated joins, access context through plan state
hallettj May 20, 2024
06fc46a
wip: fix query and relationship comparisons
hallettj May 20, 2024
775f58a
wip: compiles
hallettj May 21, 2024
d938ada
remove outdated code
hallettj May 21, 2024
5c24e26
get target collection object type when following relationships
hallettj May 21, 2024
8835ce2
some test changes
hallettj May 22, 2024
e0c34a4
relation fixes
hallettj May 22, 2024
fb9284d
disable filter-by-related-field test for now
hallettj May 22, 2024
87139ac
fix relationship field selection - integration tests pass
hallettj May 22, 2024
8bc39bf
simplify QueryPlanState - assume engine-provided relations do not nee…
hallettj May 22, 2024
f52a9a1
use column selectors consistently, unit test is passing
hallettj May 22, 2024
ac9b7ae
root column test is passing
hallettj May 22, 2024
c1cd2d7
wip: more tests passing
hallettj May 23, 2024
5c61acc
updates for new nested features in ndc-spec
hallettj May 23, 2024
416324e
translates nested fields test passes
hallettj May 24, 2024
c9532d1
all plan unit tests are passing
hallettj May 24, 2024
e2aed8c
fix warnings
hallettj May 24, 2024
71b1391
update tests in query/mod
hallettj May 24, 2024
e689d84
updates foreach unit tests
hallettj May 24, 2024
3b71da3
updates unit tests in query/relations
hallettj May 24, 2024
4f92030
update tests in mongodb/selection
hallettj May 24, 2024
ad059bd
update unit tests in interpolated_command
hallettj May 24, 2024
63cb477
updates tests in query/native_query
hallettj May 24, 2024
93069e9
update unit tests for query/response
hallettj May 24, 2024
d2587b1
mongodb-agent-common unit tests compile
hallettj May 24, 2024
261cc01
reference predicate in exists-in-related expression, get null for all…
hallettj May 24, 2024
7796a77
test fixes
hallettj May 24, 2024
e116cd1
fix response serialization for request with variables and aggregates
hallettj May 25, 2024
70833d4
all unit tests in mongodb-agent-common are passing
hallettj May 25, 2024
a4a6ff4
delete file that was moved earlier
hallettj May 25, 2024
e71d6aa
fix warnings
hallettj May 25, 2024
14586c5
fixes for query plan unit tests
hallettj May 25, 2024
0a47815
remove unused helper
hallettj May 25, 2024
198e676
clippy fix
hallettj May 25, 2024
8d1dbff
Merge branch 'main' into jesse/query-plan
hallettj May 27, 2024
6642a79
remove commented out code
hallettj May 28, 2024
28d0c73
remove redundant "Error" from error variant name
hallettj May 28, 2024
c75abee
remove commented out code
hallettj May 28, 2024
06bf068
update tests with native procedure -> native mutation name change
hallettj May 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 31 additions & 146 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ version = "0.0.6"
members = [
"crates/cli",
"crates/configuration",
"crates/dc-api",
"crates/dc-api-test-helpers",
"crates/dc-api-types",
"crates/integration-tests",
"crates/mongodb-agent-common",
"crates/mongodb-connector",
"crates/mongodb-support",
"crates/ndc-query-plan",
"crates/ndc-test-helpers",
"crates/test-helpers",
]
Expand All @@ -23,8 +21,10 @@ resolver = "2"
ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs.git" }
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.2" }

indexmap = { version = "2", features = ["serde"] } # should match the version that ndc-models uses
itertools = "^0.12.1"
mongodb = { version = "2.8", features = ["tracing-unstable"] }
schemars = "^0.8.12"

# Connecting to MongoDB Atlas database with time series collections fails in the
# latest released version of the MongoDB Rust driver. A fix has been merged, but
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mongodb-support = { path = "../mongodb-support" }
anyhow = "1.0.80"
clap = { version = "4.5.1", features = ["derive", "env"] }
futures-util = "0.3.28"
indexmap = { version = "1", features = ["serde"] } # must match the version that ndc-client uses
indexmap = { workspace = true }
itertools = { workspace = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0.113", features = ["raw_value"] }
Expand Down
6 changes: 4 additions & 2 deletions crates/configuration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ version = "0.1.0"
edition = "2021"

[dependencies]
mongodb-support = { path = "../mongodb-support" }
ndc-query-plan = { path = "../ndc-query-plan" }

anyhow = "1"
futures = "^0.3"
itertools = { workspace = true }
mongodb = { workspace = true }
mongodb-support = { path = "../mongodb-support" }
ndc-models = { workspace = true }
schemars = "^0.8.12"
schemars = { workspace = true }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
serde_yaml = "^0.9"
Expand Down
Loading