Skip to content
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

NDC Spec v0.2.0 support #666

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
4e3512c
Update to ndc-models 0.2.0
BenoitRanque Dec 25, 2024
e347827
scalar type representation is no longer optional. If the configuratio…
BenoitRanque Dec 25, 2024
d3359fd
We assume we don't support any capability we did not previously support.
BenoitRanque Dec 25, 2024
f1aac02
Foreign Keys moved from collections to object types.
BenoitRanque Dec 25, 2024
86d601e
Count aggregates now take an expression instead of a column reference…
BenoitRanque Dec 25, 2024
c5cdb1f
remove todo
BenoitRanque Dec 25, 2024
6aa62e1
remove todo, jandle a couple additional cases as errors/unsupported
BenoitRanque Dec 25, 2024
f2ba324
add additional error types
BenoitRanque Dec 25, 2024
52292f6
add test for aggregate of nested field
BenoitRanque Dec 25, 2024
fb79bfb
relationship mapping now have an array on the right-hand side, so for…
BenoitRanque Dec 25, 2024
1240ffb
scalar type no longer optional
BenoitRanque Dec 25, 2024
7a227e8
nested field collection not supported, add error handling
BenoitRanque Dec 25, 2024
3647605
update filtering, aggregates, sorting, to 0.2.0
BenoitRanque Dec 25, 2024
89c17fa
Update translation test configurations to v5
BenoitRanque Dec 25, 2024
7eaa240
add reference to query/mutation request schema json
BenoitRanque Dec 25, 2024
2fb2fc8
right hand side of relationship column mapping is now an array
BenoitRanque Dec 25, 2024
8970cfc
update aggregate expresion
BenoitRanque Dec 25, 2024
4a64876
use exists instead of left-hand side path
BenoitRanque Dec 25, 2024
a4987c2
update root_collection_column test to use scopes instead
BenoitRanque Dec 25, 2024
e1c4e9a
Correct sorting behavior. We use CCUNT("col") for CountStar to count …
BenoitRanque Dec 25, 2024
623ba65
use exists instead of left-hand side path
BenoitRanque Dec 31, 2024
b75dbc2
v0.2.0 schema update
BenoitRanque Dec 31, 2024
8fae660
use exists instead of left-handed path
BenoitRanque Dec 31, 2024
706ff96
right-hand side of relationship column mapping is now an array
BenoitRanque Jan 1, 2025
3c5de38
use exists instead of left-hand side path
BenoitRanque Jan 1, 2025
11511ed
aggregates have changed
BenoitRanque Jan 1, 2025
d0052c6
comparison target columns have been simplified
BenoitRanque Jan 1, 2025
0a15b79
root column comparison now replaced with scopes
BenoitRanque Jan 1, 2025
fb69607
update tests to new sdk
BenoitRanque Jan 1, 2025
6832dd9
add manually triggered tests to generate schema files for test file v…
BenoitRanque Jan 1, 2025
3759591
remove debug print statement
BenoitRanque Jan 2, 2025
35832ef
Fix aggregates for 0.2.0
BenoitRanque Jan 4, 2025
80f4831
fix: sums that return int8 should be marked with the meaning field
BenoitRanque Jan 6, 2025
f93b943
We'll need to implement filtering by aggregates later
BenoitRanque Jan 8, 2025
b38a5a1
add standard comparison operators, make no changes to defaults
BenoitRanque Jan 16, 2025
361a926
schema snapshots updated to reflect changes in sum aggregates defini…
BenoitRanque Jan 16, 2025
4c8bad3
Replace RootAndCurrentTables with TableScope, which keeps track of an…
BenoitRanque Jan 16, 2025
92bb23d
change default introspection settings to include meaning for gt(e),lt…
BenoitRanque Jan 16, 2025
c2f518e
update benchmark ndc request
BenoitRanque Jan 20, 2025
3f5e42c
make prettier happy
BenoitRanque Jan 20, 2025
1dd91a0
default to JSON representation if missing, instead of attempting to i…
BenoitRanque Feb 1, 2025
00d1c18
use scalar type representation instead of scalar type name when decid…
BenoitRanque Feb 1, 2025
de590f1
add test for returning object relationship after insert
BenoitRanque Feb 2, 2025
a8e07e3
add nested/nested array relationships to postgres, required for retur…
BenoitRanque Feb 3, 2025
eb7dce6
mark nested array relationships as supported
BenoitRanque Feb 3, 2025
bea5b17
include types returning Int64AsString in sum functions
BenoitRanque Feb 3, 2025
7330acc
fix formating
BenoitRanque Feb 3, 2025
1161d5b
Run 0.2.0 e2e tests
danieljharvey Feb 14, 2025
39d5962
Merge branch 'main' into benoit/eng-362-update-ndc-postgres-to-ndc_mo…
BenoitRanque Mar 17, 2025
dfeab82
update snapshots
BenoitRanque Mar 17, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
${{ github.workspace }}/ndc-postgres/result/bin/ndc-postgres
run: |
npm install
just start-postgres-dependencies start-apollo-subgraph
just start-postgres_v0_2-dependencies start-apollo-subgraph
trap 'just stop-everything' EXIT
RUST_LOG=DEBUG ./crates/postgres/static/run-postgres-tests.sh '.*' "$NDC_POSTGRES_BINARY" "$ENGINE_BINARY"
RUST_LOG=DEBUG ./crates/postgres_v0_2/static/run-postgres-tests.sh '.*' "$NDC_POSTGRES_BINARY" "$ENGINE_BINARY"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This now explicitly runs the new e2e tests that use ndc-models 0.2.0

- name: Upload logs
if: always()
Expand Down
Loading
Loading