Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Apollo CLI to Version 2.18 #760

Merged
merged 2 commits into from
Sep 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
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
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