UserInterface
for User
returnable types.
An Interface is an abstract type that includes a certain set of fields that a type must include to implement the interface.Following types all implement this interface and must have all fields of this interface present.The __typename
field resolves to a String which lets you differentiate different data types from each other on the client.