Skip to content

Commit

Permalink
[Issue #1065] Introduced type keyword among the ones that need to b…
Browse files Browse the repository at this point in the history
…e escaped
  • Loading branch information
espinhogr committed Mar 3, 2019
1 parent e608ba7 commit 730ee98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

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

# `apollo@2.5.3`

Expand Down
1 change: 1 addition & 0 deletions packages/apollo-codegen-scala/src/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ const reservedKeywords = new Set([
"trait",
"true",
"try",
"type",
"until",
"val",
"var",
Expand Down

0 comments on commit 730ee98

Please sign in to comment.