79136144

Date: 2024-10-29 07:15:29
Score: 1
Natty:
Report link

In my case I have to add three periods (...) before on, something like:

query getOrderType($userId: String!) {
  getOrderType(userId: $userId) {
    ... on DeliveryType {
       delivery
       deliveryStreetNumberId
       pickupLocationId
    }
    storeId
  }
}

Doc: https://www.apollographql.com/docs/apollo-server/schema/unions-interfaces#querying-a-union

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Chen Ni