Skip to content

Commit 67adb9d

Browse files
committed
[Issue #1065] Introduced type keyword among the ones that need to be escaped
1 parent ee3b2ad commit 67adb9d

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
@@ -6,6 +6,7 @@
66
- Use generated Typescript types via client:codegen [#1016](https://github.com/apollographql/apollo-tooling/pull/1016)
77
- Remove default `--tag=current` for some client commands that used it [#1062](https://github.com/apollographql/apollo-tooling/pull/1062)
88
- Add missing dependency `@oclif/errors` [#1068](https://github.com/apollographql/apollo-tooling/pull/1068)
9+
- The keyword "type" is escaped when generating scala.js via client:codegen [#1066](https://github.com/apollographql/apollo-tooling/pull/1066)
910

1011
# `apollo@2.5.3`
1112

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)