Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Update fixtures and tests with relay-compiler v10.0.0 #196

Merged
merged 7 commits into from
Jul 28, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,19 @@
"@types/jest": "^24.0.17",
"@types/node": "8.10.51",
"@types/relay-compiler": "^8.0.0",
"@types/relay-runtime": "^8.0.0",
"babel-plugin-relay": "^9.0.0",
"@types/relay-runtime": "^10.0.1",
"babel-plugin-relay": "^10.0.0",
"chokidar-cli": "^2.0.0",
"concurrently": "^5.0.0",
"graphql": "^14.5.8",
"graphql": "^15.3.0",
"husky": "^3.0.2",
"jest": "^24.8.0",
"jest-cli": "^24.8.0",
"lint-staged": "^9.2.1",
"prettier": "^1.19.1",
"relay-compiler": "^8.0.0",
"relay-runtime": "^9.0.0",
"relay-test-utils-internal": "^8.0.0",
"relay-compiler": "^10.0.0",
"relay-runtime": "^10.0.0",
"relay-test-utils-internal": "^10.0.0",
"ts-jest": "^22.0.1",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
Expand Down
2 changes: 1 addition & 1 deletion src/TypeScriptGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ function getDataTypeName(name: string): string {
}

// Should match FLOW_TRANSFORMS array
// https://github.com/facebook/relay/blob/v6.0.0/packages/relay-compiler/language/javascript/RelayFlowGenerator.js#L621-L627
// https://github.com/facebook/relay/blob/v10.0.0/packages/relay-compiler/language/javascript/RelayFlowGenerator.js#L982
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only updated the url (or maybe shouldn't have?). The transforms array seems to be in sync with relay-compiler.

export const transforms: TypeGenerator["transforms"] = [
RelayDirectiveTransform.transform,
MaskTransform.transform,
Expand Down
Loading