Skip to content

Commit

Permalink
Merge pull request #760 from apollographql/update/npm
Browse files Browse the repository at this point in the history
Update Apollo CLI to Version 2.18
  • Loading branch information
designatednerd authored Sep 12, 2019
2 parents 63f5263 + 4d16053 commit c17074c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Tests/StarWarsAPI/API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public struct ReviewInput: GraphQLMapConvertible {
/// Comment about the movie, optional
public var commentary: Swift.Optional<String?> {
get {
return graphQLMap["commentary"] as? Swift.Optional<String?> ?? .none
return graphQLMap["commentary"] as? Swift.Optional<String?> ?? Swift.Optional<String?>.none
}
set {
graphQLMap.updateValue(newValue, forKey: "commentary")
Expand All @@ -82,7 +82,7 @@ public struct ReviewInput: GraphQLMapConvertible {
/// Favorite color, optional
public var favoriteColor: Swift.Optional<ColorInput?> {
get {
return graphQLMap["favorite_color"] as? Swift.Optional<ColorInput?> ?? .none
return graphQLMap["favorite_color"] as? Swift.Optional<ColorInput?> ?? Swift.Optional<ColorInput?>.none
}
set {
graphQLMap.updateValue(newValue, forKey: "favorite_color")
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-and-run-apollo-cli.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Only major and minor version should be specified here
REQUIRED_APOLLO_CLI_VERSION=2.17
REQUIRED_APOLLO_CLI_VERSION=2.18
# Specify fully qualified version here. Ideally this should be a LTS version.
REQUIRED_NODE_VERSION=10.16.0

Expand Down

0 comments on commit c17074c

Please sign in to comment.