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

[Draft] 6.x Experimental #5291

Closed
wants to merge 235 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
235 commits
Select commit Hold shift + click to select a range
34364b1
Inital development of v6 API (#5073)
angrykoala May 7, 2024
cbe294f
Merge remote-tracking branch 'origin/dev' into api-v6
angrykoala May 7, 2024
96059a1
Add v6 tests to test commands
angrykoala May 7, 2024
23e313d
Fix types in test helper
angrykoala May 7, 2024
7a609f0
Merge branch 'dev' into api-v6
angrykoala May 7, 2024
1cffbea
Update license headers
angrykoala May 7, 2024
67045a6
Add scalar fields resolvers
angrykoala May 8, 2024
ba4ac55
Update tests names
angrykoala May 8, 2024
e8fe172
Merge pull request #5097 from neo4j/scalar-fields
angrykoala May 8, 2024
51ab9f0
Test @alias with api v6
angrykoala May 7, 2024
75a9a28
Add tck tests for alias directive
angrykoala May 8, 2024
dd1329b
Merge pull request #5091 from neo4j/alias-directive-v6
angrykoala May 8, 2024
92c747d
introduce top-level sort in the new API (#5102)
MacondoExpress May 9, 2024
ad7f10e
Fix scalar fields in relationships
angrykoala May 10, 2024
299b7b5
Merge pull request #5111 from neo4j/fix-scalar-fields
angrykoala May 13, 2024
0d6fd5c
Nested sorting (#5125)
MacondoExpress May 14, 2024
392548e
Improve naming of translation layer
angrykoala May 14, 2024
2a9682d
Change dependencies of resolve-tree-parser and factory
angrykoala May 14, 2024
b928eba
Types improvements
angrykoala May 14, 2024
f6c1fc8
ResolveTree parser improvements
angrykoala May 14, 2024
3555ceb
Minor improvements to SchemaBuilder
angrykoala May 14, 2024
64e0e6c
Rename graphql-type-names
angrykoala May 14, 2024
21b2572
Rename properties of typename classes
angrykoala May 14, 2024
a59c8f4
Improvements in typenames
angrykoala May 14, 2024
b9eae7f
Rename folders for schema generation
angrykoala May 14, 2024
13d5090
Rename EntityTypes to EntitySchemaTypes
angrykoala May 14, 2024
455c662
WIP improve entitySchemaTypes
angrykoala May 14, 2024
2a5e544
Update schema builder
angrykoala May 15, 2024
9c6a053
add tests for sorting + alias (#5131)
MacondoExpress May 15, 2024
b83c226
Merge pull request #5133 from neo4j/update-schema-builder
MacondoExpress May 15, 2024
c52c83a
Merge branch 'dev' into api-v6
angrykoala May 22, 2024
5c75a5c
Merge branch 'dev' into api-v6
angrykoala May 22, 2024
5103651
Merge branch 'dev' into api-v6
angrykoala May 23, 2024
aa76cac
New api filters (#5141)
angrykoala May 23, 2024
1d92da9
Merge branch 'dev' into api-v6
angrykoala May 23, 2024
b15844f
Introduce temporal types in the v6 API
MacondoExpress May 23, 2024
bad4d09
move dateTime tests
MacondoExpress May 23, 2024
6d2c2e5
update tcks
MacondoExpress May 23, 2024
88df510
add scalar types at the very start
MacondoExpress May 23, 2024
a2b0736
remove nested description from datetime test
angrykoala May 28, 2024
6d764ca
Merge pull request #5163 from MacondoExpress/add-temporal-types
angrykoala May 28, 2024
9548237
Add string filtering tests
angrykoala May 23, 2024
2c65f7a
number filters
angrykoala May 23, 2024
a402087
Fix boolean filtering
angrykoala May 28, 2024
045c6e1
Add v6 tests to normal tests commands
angrykoala May 28, 2024
02e40b9
Update tests on datetime
angrykoala May 28, 2024
503f422
Move projection tests to a folder
angrykoala May 28, 2024
e6c0313
Move tck tests to projection folder
angrykoala May 28, 2024
e3fa44e
Add pagination arguments
angrykoala May 28, 2024
153e975
First argument for pagination
angrykoala May 28, 2024
8f1614b
sort-pagination tests
angrykoala May 29, 2024
b7058aa
Improve types on static schema types
angrykoala May 29, 2024
e6e3ab6
Merge pull request #5161 from neo4j/filter-tests
angrykoala May 29, 2024
764a803
Merge branch 'dev' into api-v6
angrykoala May 29, 2024
684a569
Add nested pagination
angrykoala May 29, 2024
15e1859
Fix PR comments
angrykoala May 30, 2024
8230241
Merge pull request #5172 from neo4j/pagination-v6
angrykoala May 30, 2024
6cf385f
Add pageInfo and cursors to connections
angrykoala May 30, 2024
516a218
Add after argument
angrykoala May 31, 2024
4e04a47
Add after argument
angrykoala May 31, 2024
bf70e20
Improve tests on pagination
angrykoala May 31, 2024
ab0389f
Add aliasing checks
angrykoala May 31, 2024
c9486c4
Move some connection tests to v6
angrykoala May 31, 2024
fc688a5
Add tests on NOT filters
angrykoala May 31, 2024
93132b8
refactor scalar support, add testing, BigInt Support, Spatial type ge…
MacondoExpress Jun 4, 2024
49e92ed
Merge pull request #5188 from neo4j/cursor-v6
MacondoExpress Jun 7, 2024
d5f77b7
implement point filter operators, move tck tests
MacondoExpress Jun 10, 2024
3360877
complete spatial types with all tests
MacondoExpress Jun 12, 2024
df805e2
move temporal tests
MacondoExpress Jun 13, 2024
6018ac9
unify pagination implementation, improve reliability pagination-after…
MacondoExpress Jun 13, 2024
c5d6dc0
Merge branch 'dev' into api-v6
MacondoExpress Jun 13, 2024
90d8777
remove connectComponentsPlanner argument from the Context
MacondoExpress Jun 13, 2024
acb6659
Create five-turtles-grab.md
MacondoExpress Jun 13, 2024
7fbe90b
Merge branch 'api-v6' into increment-support-scalar-types
MacondoExpress Jun 13, 2024
dbda630
fix sorting for not sortable types after merge
MacondoExpress Jun 13, 2024
a2da2a6
revert point-cartesian.int.test
MacondoExpress Jun 13, 2024
de8118f
cleaning up
MacondoExpress Jun 13, 2024
84e6b60
Merge pull request #5230 from MacondoExpress/remove-connect-component…
MacondoExpress Jun 14, 2024
33bbb79
add tck/integration test for @limit directive
MacondoExpress Jun 14, 2024
607d95e
clean-up sclalar support
MacondoExpress Jun 17, 2024
05c13ad
Merge pull request #5231 from MacondoExpress/increment-support-scalar…
MacondoExpress Jun 17, 2024
8e56876
add tck/integration test for @limit directive
MacondoExpress Jun 14, 2024
642f1fa
simplify calcualePaginationLimitArgument
MacondoExpress Jun 18, 2024
4ac2ecf
Merge pull request #5240 from MacondoExpress/support-limit
MacondoExpress Jun 18, 2024
b8509aa
Merge remote-tracking branch 'upstream/api-v6' into relationship-card…
MacondoExpress Jun 18, 2024
678e0df
Add relay id field in nodes
angrykoala Jun 18, 2024
8047aa4
RelayID filters
angrykoala Jun 19, 2024
82711ac
add relationship validation for 1to1 cardinality
MacondoExpress Jun 19, 2024
e63a8d7
fix import Neo4jGraphQL
MacondoExpress Jun 19, 2024
c2c4def
relayId tests
angrykoala Jun 19, 2024
4f7ee16
Merge branch 'api-v6' into v6-relay-api
angrykoala Jun 19, 2024
8dd02cc
PR comment changes
angrykoala Jun 20, 2024
3b63f82
Merge pull request #5251 from neo4j/v6-relay-api
angrykoala Jun 20, 2024
b97bd54
introduce validation to v6 API
MacondoExpress Jun 19, 2024
de98ad0
Add node query endpoint
angrykoala Jun 24, 2024
d136dfd
move global id resolver
angrykoala Jun 25, 2024
b6dfc50
Global node endpoint
angrykoala Jun 25, 2024
6d1745c
Merge pull request #5256 from MacondoExpress/relationship-cardinality…
angrykoala Jun 25, 2024
f8bf582
Add tests on global node endpoint
angrykoala Jun 28, 2024
99c50f3
Merge branch 'dev' into api-v6
angrykoala Jul 1, 2024
d7462a3
Improve global node generator
angrykoala Jul 1, 2024
19917a0
Merge pull request #5271 from neo4j/global-id-v6
angrykoala Jul 1, 2024
3b34d05
Use typeComposer types for scalar types
angrykoala Jul 1, 2024
0f2ca3c
Merge pull request #5289 from neo4j/scalar-types-schema-builder
angrykoala Jul 1, 2024
7d975e6
comment out the spatial filters waiting for proper design
MacondoExpress Jul 3, 2024
190ff92
fix relayId tests (no longer 1to1 rel supported)
MacondoExpress Jul 3, 2024
254342c
Fix tests for version 6.x
angrykoala Jul 5, 2024
feb3343
Fix compatibility issues with graphQL 14
angrykoala Jul 5, 2024
67d8d80
Merge pull request #5315 from neo4j/fix-tests
angrykoala Jul 5, 2024
17c55f9
Merge branch 'dev' into 6.x
angrykoala Jul 5, 2024
c6125cb
Logical filters in node
angrykoala Jul 5, 2024
f1d8e0e
comment out the spatial filters waiting for proper design
MacondoExpress Jul 3, 2024
718db84
fix relayId tests (no longer 1to1 rel supported)
MacondoExpress Jul 3, 2024
24192ee
Merge branch 'comment-out-spatial-operators' of github.com:MacondoExp…
MacondoExpress Jul 5, 2024
9ba241e
disable lint error for skipped tests on spatial type filtering
MacondoExpress Jul 5, 2024
f2f7449
Remove unused types in schema builder
angrykoala Jul 5, 2024
6ac2ff2
Merge pull request #5320 from neo4j/improve-schema-builder
angrykoala Jul 5, 2024
cdc6aa2
disable skip warnings on point filters
MacondoExpress Jul 5, 2024
d2abb5d
Merge pull request #5303 from MacondoExpress/comment-out-spatial-oper…
MacondoExpress Jul 8, 2024
8d28180
Merge pull request #5318 from neo4j/logical-filters-in-node
angrykoala Jul 8, 2024
5a2328f
Merge branch 'dev' into 6.x
angrykoala Jul 9, 2024
e7156e3
feat: remove edges from top-level filtering and sort in schema types
mjfwebb Jul 9, 2024
319d9a2
Move nested filtering tests
angrykoala Jul 8, 2024
0828428
Fix null filters
angrykoala Jul 8, 2024
4ba98f6
Fix implicit AND filters
angrykoala Jul 8, 2024
fe18eae
Move sort and filter tests
angrykoala Jul 9, 2024
c994257
Update multi-database tests
angrykoala Jul 9, 2024
04d9672
update errors tests
angrykoala Jul 9, 2024
946773a
wip
mjfwebb Jul 9, 2024
f445b14
WIP - move issues integration tests
angrykoala Jul 10, 2024
d007319
WIP update top level filtering
angrykoala Jul 10, 2024
cd71378
Remove edges from top level filters
angrykoala Jul 10, 2024
7a79297
Remove top level edge from sorting and change sort to be an array
angrykoala Jul 10, 2024
2e193b7
Remove commented code
angrykoala Jul 10, 2024
edec2d0
Merge pull request #5335 from neo4j/remove-edges-top-level-v6
angrykoala Jul 10, 2024
35d00a1
Merge pull request #5336 from neo4j/remove-sort-edges
angrykoala Jul 11, 2024
5ece649
Merge remote-tracking branch 'origin/6.x' into update-tests-v6
angrykoala Jul 11, 2024
b0bdf0e
Update tests to remove top level edges
angrykoala Jul 11, 2024
a6820e8
add @unique schema test
MacondoExpress Jul 11, 2024
2947e72
WIP move tck tests
angrykoala Jul 11, 2024
2d32378
add bug TCK test
MacondoExpress Jul 11, 2024
4e49995
Fix error with top level or
angrykoala Jul 12, 2024
1ffeda1
Move pagination and connection tck tests to v6
angrykoala Jul 12, 2024
b46cf2d
WIP graphql-tree cleanup
angrykoala Jul 12, 2024
cb9d362
Merge pull request #5351 from neo4j/update-tck-test-v6
angrykoala Jul 12, 2024
95423cb
Merge pull request #5343 from neo4j/update-tests-v6
angrykoala Jul 12, 2024
87a6a1e
Merge branch 'dev' into 6.x
angrykoala Jul 12, 2024
133d302
Cleanup graphql tree types
angrykoala Jul 12, 2024
bb345f6
Remove args suffix from graphql-tree types
angrykoala Jul 12, 2024
9b8e4a6
Merge pull request #5352 from neo4j/graphql-tree-cleanup
angrykoala Jul 12, 2024
2ec60c6
add @unique on v6, and make constraint name mandatory
MacondoExpress Jul 15, 2024
0301919
rename cypher integration file to cypher.int.test
MacondoExpress Jul 15, 2024
3fa449e
remove useless schema test, remove migrated unique tests, bring back …
MacondoExpress Jul 15, 2024
e5ecb8b
autogenerate constraintName while waiting to migrate v5 tests
MacondoExpress Jul 15, 2024
e74c2f4
improvements on resolve-tree-parser
angrykoala Jul 15, 2024
931997a
maintain functionality to check existing constraint using the default…
MacondoExpress Jul 15, 2024
14778e8
Merge pull request #5362 from neo4j/graphql-tree-cleanup
angrykoala Jul 16, 2024
b918320
WIP: Improve FilterFactory
angrykoala Jul 16, 2024
7491d46
apply PR suggestion
MacondoExpress Jul 16, 2024
37dd12b
Merge pull request #5361 from MacondoExpress/unique-directive
MacondoExpress Jul 16, 2024
f248657
Fix logical filters in edges
angrykoala Jul 17, 2024
e3d1ce5
Merge pull request #5365 from neo4j/improve-filter-factory
angrykoala Jul 17, 2024
2492ae7
make hasNextPage and hasPreviousPage not nullable
MacondoExpress Jul 17, 2024
da1d798
Merge pull request #5369 from MacondoExpress/fix-pageinfo-type
MacondoExpress Jul 17, 2024
0a417db
Remove inheritance in schema types
angrykoala Jul 25, 2024
914e1b8
Update schema on nested filters
angrykoala Jul 25, 2024
3333c13
Update relationship filters order
angrykoala Jul 25, 2024
60948ec
Merge pull request #5389 from neo4j/remove-inheritance-in-schema-types
angrykoala Jul 26, 2024
dc5c737
Merge pull request #5390 from neo4j/update-relationship-filters-6
angrykoala Jul 26, 2024
b2617fd
initial create implementation
MacondoExpress Jul 26, 2024
704e6ef
export directly GraphQLTree
MacondoExpress Jul 26, 2024
1f3fc46
move unwind-create to v6 folder under name of CreateOperation
MacondoExpress Jul 26, 2024
5d4fccc
add create with additional labels tests, add projection for create
MacondoExpress Jul 29, 2024
1d4ca24
add create info resolver and @alias tests
MacondoExpress Jul 29, 2024
dfb5738
support BigInt on create, create BigInt static type
MacondoExpress Jul 29, 2024
eb4051e
add temporal types to the create input, improve temporal types handling
MacondoExpress Jul 30, 2024
2d19de4
Add temporal types tests
MacondoExpress Jul 30, 2024
c7ceb77
remove extra folder from temporal types tests
MacondoExpress Jul 30, 2024
367ee0b
add support for create with Spatial types, improve tests around Spati…
MacondoExpress Jul 31, 2024
110e5ad
simplify Create operation by removing unnecessary logic
MacondoExpress Aug 1, 2024
3ef4785
improve CreateFactory
MacondoExpress Aug 1, 2024
92a6ce4
clean-up Top-Level Create PR
MacondoExpress Aug 1, 2024
94dae17
fix unit test
MacondoExpress Aug 1, 2024
a143fdb
add extra entries on create array tests
MacondoExpress Aug 2, 2024
a86e570
move node-create tests from combinations folder to directives/node fo…
MacondoExpress Aug 2, 2024
928335e
Merge pull request #5417 from neo4j/v6-create
MacondoExpress Aug 2, 2024
441fd8b
Remove unused parameter typeNames from TopLevelCreateSchemaTypes
MacondoExpress Aug 2, 2024
35c510a
initial implementation @default directive
MacondoExpress Aug 2, 2024
663e8ca
add @default test with create
MacondoExpress Aug 2, 2024
015cdf3
add validation for @default, tests, and clean-up @default implementation
MacondoExpress Aug 5, 2024
078d9bf
move @default tests
MacondoExpress Aug 5, 2024
98bb6c3
fix default for array tests
MacondoExpress Aug 6, 2024
b6fee1d
Update mutations on version 6
angrykoala Aug 6, 2024
5a93644
Add where to update mutations
angrykoala Aug 6, 2024
f08f22f
Update packages/graphql/tests/api-v6/schema/invalid-schema/invalid-de…
MacondoExpress Aug 6, 2024
40d5c5d
Merge pull request #5437 from MacondoExpress/create-default
MacondoExpress Aug 6, 2024
991eca3
refactor: rename GraphQLTree to GraphQLTreeReadOperationTopLevel (#5439)
mjfwebb Aug 6, 2024
ae9ab22
refactor: move createInfo to staticTypes (#5443)
mjfwebb Aug 7, 2024
fda2ffb
feat: add top level delete to the schema
mjfwebb Aug 7, 2024
a47de44
test: update snapshots
mjfwebb Aug 7, 2024
9f9465f
refactor: set DeleteResponse as static type
mjfwebb Aug 8, 2024
c707737
test: update snapshots
mjfwebb Aug 8, 2024
eeb4d2e
Set parameters in update
angrykoala Aug 8, 2024
0aebf06
Merge pull request #5444 from mjfwebb/delete-mutation-schema
mjfwebb Aug 8, 2024
a99cc61
Fix projection on update mutations
angrykoala Aug 8, 2024
02d5add
Move create tests in mutations
angrykoala Aug 8, 2024
7fa8bca
Add filters on update mutations
angrykoala Aug 8, 2024
77a10b2
feat: remove alias on ReadOperationFactor selection
mjfwebb Aug 9, 2024
2e4ea6a
test: update snapshots
mjfwebb Aug 9, 2024
f18a367
Merge pull request #5454 from mjfwebb/remove-unnecessary-alias
mjfwebb Aug 9, 2024
76a5844
fix name of default directive test
MacondoExpress Aug 6, 2024
b1bbcf6
add schema for @id
MacondoExpress Aug 8, 2024
628a3f4
add @id translation
MacondoExpress Aug 9, 2024
8016163
fix merge conflic on translate-delete-resolver
MacondoExpress Aug 9, 2024
a3a827a
fix schema tests after merge
MacondoExpress Aug 9, 2024
50c5ddb
add validation rule to list of nullable elements, fix tests
MacondoExpress Aug 12, 2024
54511ab
remove nullable list filters
MacondoExpress Aug 12, 2024
1a4af1c
Merge pull request #5460 from MacondoExpress/list-validation-rules
MacondoExpress Aug 12, 2024
b417524
add conflicting properties error on the CreateFactory
MacondoExpress Aug 12, 2024
3669777
Remove list for update input
angrykoala Aug 13, 2024
28f339a
initialiaze inputFields with autogeneratedFields
MacondoExpress Aug 13, 2024
dd49184
update info.int.test
MacondoExpress Aug 13, 2024
7b61d9e
Merge remote-tracking branch 'origin/6.x' into update-mutation-v6
angrykoala Aug 13, 2024
f75f166
Add test on nested filters with update
angrykoala Aug 14, 2024
38c50b0
Merge pull request #5452 from neo4j/update-mutation-v6
angrykoala Aug 14, 2024
e539895
feat: top level delete
mjfwebb Aug 12, 2024
f2fd26a
fix: use beforeEach/afterEach
mjfwebb Aug 12, 2024
88b20c1
refactor: remove nested operations
mjfwebb Aug 15, 2024
75d7715
Merge pull request #5459 from mjfwebb/top-level-delete-6.x
mjfwebb Aug 15, 2024
f2696a5
feat: add nested delete operations
mjfwebb Aug 16, 2024
145f132
test: update schema test snapshots
mjfwebb Aug 16, 2024
658bfc2
Merge branch '6.x' into chore-b6
angrykoala Aug 16, 2024
14e1ede
Merge pull request #5463 from MacondoExpress/chore-b6
angrykoala Aug 16, 2024
b323a45
docs: add header
mjfwebb Aug 16, 2024
710227c
Merge pull request #5476 from mjfwebb/nested-delete-v6
angrykoala Aug 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/five-turtles-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": patch
---

Remove `connectComponentsPlanner` argument from the `CypherQueryOptions`
7 changes: 4 additions & 3 deletions packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@
"scripts": {
"build": "tsc --build src/tsconfig.production.json",
"clean": "cd src/ && tsc --build --clean",
"test:v6": "jest tests/api-v6",
"cleanup:package-tests": "cd ../package-tests/ && yarn run cleanup && rimraf ./package/ && rimraf *.tgz",
"performance": "ts-node tests/performance/performance.ts",
"posttest:package-tests": "yarn run cleanup:package-tests",
"setup:package-tests": "yarn pack && mv *.tgz ../package-tests/ && cd ../package-tests/ && rimraf package && tar -xvzf *.tgz && cd package && cd ../ && yarn install && yarn run setup",
"test:e2e": "jest tests/e2e",
"test:int": "jest tests/integration",
"test:int": "jest tests/integration tests/api-v6/integration",
"test:package-tests": "yarn run setup:package-tests && cd ../package-tests/ && yarn run test:all",
"test:schema": "jest tests/schema -c jest.minimal.config.js",
"test:tck": "jest tests/tck -c jest.minimal.config.js",
"test:schema": "jest tests/schema tests/api-v6/schema -c jest.minimal.config.js",
"test:tck": "jest tests/tck tests/api-v6/tck -c jest.minimal.config.js",
"test:unit": "jest src --coverage=true -c jest.minimal.config.js",
"test": "jest"
},
Expand Down
Loading
Loading