apollo-ios: Compile error of generated code with 0.17.0

image

Looks like we lost empty dictionary literals somewhere.

Query. Clearly has {} which seems to be the issue trigger.

/// query ExplicitPreferenceCompanionQuestions {
  ///   ExplicitPreferences_personalizationQuestions(request: {}) {
  ///     __typename
  ///     companionsQuestion {
  ///       __typename
  ///       selected
  ///     }
  ///   }
  /// }

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (12 by maintainers)

Commits related to this issue

Most upvoted comments

This can probably stay closed since there is already a ticket that tracks the second issue. Also it can be worked around by not including the parameter that is being set to null. Assuming the server isn’t dependent on the difference between not set and set to null.