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

Add tests for regressions introduced in ArangoDB 3.12.0 #322

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
1 change: 1 addition & 0 deletions spec/regression/logistics/model/country.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ type Country
@roles(read: ["allusers"], readWrite: ["admin"]) {
isoCode: String @key
description: [Translation]
descriptionI18nString: I18nString
totalInvestment: String @roles(readWrite: "accounting")
someKey: String @flexSearch
}
12 changes: 12 additions & 0 deletions spec/regression/logistics/test-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"translation": "Germany"
}
],
"descriptionI18nString": {
"de": "Deutschland",
"en": "Germany"
},
"totalInvestment": "EUR 50000000",
"someKey": "1"
},
Expand All @@ -31,6 +35,10 @@
"translation": "United Kingdom"
}
],
"descriptionI18nString": {
"de": "Vereinigtes Königreich",
"en": "United Kingdom"
},
"totalInvestment": "EUR 3000000",
"someKey": "2"
},
Expand All @@ -47,6 +55,10 @@
"translation": "United States"
}
],
"descriptionI18nString": {
"de": "Vereinigte Staaten",
"en": "United States"
},
"someKey": null
},
{
Expand Down
42 changes: 41 additions & 1 deletion spec/regression/logistics/tests/deprecations.result.json
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,16 @@
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "consignee_country_descriptionI18nString_ASC",
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "consignee_country_descriptionI18nString_DESC",
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "consignee_country_totalInvestment_ASC",
"isDeprecated": true,
Expand Down Expand Up @@ -621,6 +631,16 @@
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "destinationCountry_descriptionI18nString_ASC",
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "destinationCountry_descriptionI18nString_DESC",
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "destinationCountry_totalInvestment_ASC",
"isDeprecated": true,
Expand Down Expand Up @@ -701,6 +721,16 @@
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "originCountry_descriptionI18nString_ASC",
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "originCountry_descriptionI18nString_DESC",
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "originCountry_totalInvestment_ASC",
"isDeprecated": true,
Expand Down Expand Up @@ -851,6 +881,16 @@
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "destination_country_descriptionI18nString_ASC",
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "destination_country_descriptionI18nString_DESC",
"isDeprecated": true,
"deprecationReason": "OrderBy values that include relations or references are deprecated"
},
{
"name": "destination_country_totalInvestment_ASC",
"isDeprecated": true,
Expand Down Expand Up @@ -1104,4 +1144,4 @@
]
}
}
}
}
Loading
Loading