8 Matching Annotations
  1. Feb 2023
    1. [Episode!]! represents an array of Episode objects. Since it is also non-nullable, you can always expect an array (with zero or more items) when you query the appearsIn field. And since Episode! is also non-nullable, you can always expect every item of the array to be an Episode object.

      Note that this still allows an empty array, []. It only disallows: null and [null].

  2. May 2022
  3. Feb 2021
    1. this implies direct work with nil-able values which may end up with errors.
    2. To get the final value you can use value_or which is a safe way to unwrap a nil-able value.