Skip to content

Commit

Permalink
Upgrade to GraphQL 16 (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
72636c authored Jan 5, 2022
1 parent 7d089da commit 43a541b
Show file tree
Hide file tree
Showing 9 changed files with 976 additions and 866 deletions.
6 changes: 6 additions & 0 deletions .changeset/purple-oranges-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'wingman-be': patch
'wingman-fe': patch
---

GraphQL 16
10 changes: 2 additions & 8 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,13 @@
// `node-fetch@3` is ESM-only
'@types/node-fetch',
'node-fetch',
// GraphQL majors first require support in Apollo and other tooling
'graphql',
],
matchUpdateTypes: ['major'],

enabled: false,
},
{
matchManagers: ['npm'],
matchPackageNames: ['graphql'],

// apollographql/apollo-client#8991
// apollographql/apollo-server#5605
allowedVersions: '< 16',
},
{
matchManagers: ['npm'],
matchPackageNames: ['react-router-dom'],
Expand Down
18 changes: 9 additions & 9 deletions be/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"url": "https://github.com/seek-oss/wingman/issues"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.1",
"@graphql-tools/wrap": "^8.0.0",
"apollo-server-core": "^3.1.1",
"apollo-server-koa": "^3.1.1",
"graphql": "^15.5.1",
"koa": "^2.12.0",
"@graphql-tools/utils": "^8.5.5",
"@graphql-tools/wrap": "^8.3.2",
"apollo-server-core": "^3.6.1",
"apollo-server-koa": "^3.6.1",
"graphql": "^16.2.0",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"koa-compose": "^4.1.0",
"lru-cache": "^6.0.0",
"node-fetch": "^2.6.0",
"runtypes": "^6.3.0",
"seek-koala": "^5.0.0"
"node-fetch": "^2.6.6",
"runtypes": "^6.5.0",
"seek-koala": "^5.1.0"
},
"devDependencies": {
"@koa/cors": "3.1.0",
Expand Down
6 changes: 6 additions & 0 deletions fe/lib/types/apolloHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export type ApplicationQuestionKeySpecifier = (
| 'questionHtml'
| 'responseChoice'
| 'responseTypeCode'
| 'sourceCode'
| 'value'
| ApplicationQuestionKeySpecifier
)[];
Expand All @@ -124,6 +125,7 @@ export type ApplicationQuestionFieldPolicy = {
questionHtml?: FieldPolicy<any> | FieldReadFunction<any>;
responseChoice?: FieldPolicy<any> | FieldReadFunction<any>;
responseTypeCode?: FieldPolicy<any> | FieldReadFunction<any>;
sourceCode?: FieldPolicy<any> | FieldReadFunction<any>;
value?: FieldPolicy<any> | FieldReadFunction<any>;
};
export type ApplicationQuestionAnswerKeySpecifier = (
Expand Down Expand Up @@ -846,10 +848,14 @@ export type PageInfoFieldPolicy = {
startCursor?: FieldPolicy<any> | FieldReadFunction<any>;
};
export type PartnerOrganizationKeySpecifier = (
| 'credentialSelfServiceApprovedIndicator'
| 'name'
| PartnerOrganizationKeySpecifier
)[];
export type PartnerOrganizationFieldPolicy = {
credentialSelfServiceApprovedIndicator?:
| FieldPolicy<any>
| FieldReadFunction<any>;
name?: FieldPolicy<any> | FieldReadFunction<any>;
};
export type PersonCompetencyKeySpecifier = (
Expand Down
Loading

0 comments on commit 43a541b

Please sign in to comment.