Skip to content

Commit da0aed2

Browse files
JelteFseantleonard
authored andcommitted
Fix capitalization of config fields after refactor (#69)
After the big codestyle refactor in PR #64 capitalization of public fields was changed. This had the unintended effect that our committed configs were not correct anymore. This addresses that by updating the configs as well. Co-authored-by: Sean Leonard <[email protected]>
1 parent 5ba441e commit da0aed2

File tree

3 files changed

+21
-23
lines changed

3 files changed

+21
-23
lines changed

DataGateway.Service/config.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"GraphQLSchema": "",
3-
"Resolvers": [
3+
"QueryResolvers": [
44
{
5-
"engine": "",
6-
"id": "",
7-
"databaseName": "",
8-
"containerName": "",
9-
"tableName": "",
10-
"parametrizedQuery": ""
5+
"Id": "",
6+
"DatabaseName": "",
7+
"ContainerName": "",
8+
"ParametrizedQuery": ""
119
}
1210
]
1311
}

DataGateway.Service/mssql-config.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
"GraphQLSchema": "",
33
"QueryResolvers": [
44
{
5-
"id": "characterById",
6-
"parametrizedQuery": "SELECT id, name, type, homePlanet, primaryFunction FROM character WHERE id = @id"
5+
"Id": "characterById",
6+
"ParametrizedQuery": "SELECT id, name, type, homePlanet, primaryFunction FROM character WHERE id = @id"
77
},
88
{
9-
"id": "characterList",
10-
"parametrizedQuery": "SELECT id, name, type, homePlanet, primaryFunction FROM character"
9+
"Id": "characterList",
10+
"ParametrizedQuery": "SELECT id, name, type, homePlanet, primaryFunction FROM character"
1111
},
1212
{
13-
"id": "planetById",
14-
"parametrizedQuery": "SELECT id, name FROM planet WHERE id = @id"
13+
"Id": "planetById",
14+
"ParametrizedQuery": "SELECT id, name FROM planet WHERE id = @id"
1515
},
1616
{
17-
"id": "planetList",
18-
"parametrizedQuery": "SELECT id, name FROM planet"
17+
"Id": "planetList",
18+
"ParametrizedQuery": "SELECT id, name FROM planet"
1919
}
2020
]
2121
}

DataGateway.Service/postgresql-config.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
"GraphQLSchema": "",
33
"QueryResolvers": [
44
{
5-
"id": "characterById",
6-
"parametrizedQuery": "SELECT id, name, type, homePlanet, primaryFunction FROM character WHERE id = @id::integer"
5+
"Id": "characterById",
6+
"ParametrizedQuery": "SELECT id, name, type, homePlanet, primaryFunction FROM character WHERE id = @id::integer"
77
},
88
{
9-
"id": "characterList",
10-
"parametrizedQuery": "SELECT id, name, type, homePlanet, primaryFunction FROM character"
9+
"Id": "characterList",
10+
"ParametrizedQuery": "SELECT id, name, type, homePlanet, primaryFunction FROM character"
1111
},
1212
{
13-
"id": "planetById",
14-
"parametrizedQuery": "SELECT id, name FROM planet WHERE id = @id::integer"
13+
"Id": "planetById",
14+
"ParametrizedQuery": "SELECT id, name FROM planet WHERE id = @id::integer"
1515
},
1616
{
17-
"id": "planetList",
18-
"parametrizedQuery": "SELECT id, name FROM planet"
17+
"Id": "planetList",
18+
"ParametrizedQuery": "SELECT id, name FROM planet"
1919
}
2020
]
2121
}

0 commit comments

Comments
 (0)