Skip to content

Commit 730ee98

Browse files
committed
[Issue #1065] Introduced type keyword among the ones that need to be escaped
1 parent e608ba7 commit 730ee98

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- `apollo`
66
- Use generated Typescript types via client:codegen [#1016](https://github.com/apollographql/apollo-tooling/pull/1016)
7+
- The keyword "type" is escaped when generating scala.js via client:codegen [#1066](https://github.com/apollographql/apollo-tooling/pull/1066)
78

89
# `apollo@2.5.3`
910

packages/apollo-codegen-scala/src/language.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ const reservedKeywords = new Set([
189189
"trait",
190190
"true",
191191
"try",
192+
"type",
192193
"until",
193194
"val",
194195
"var",

0 commit comments

Comments
 (0)