Schema:
type Delivery {
"""
Delivery Status
"""
deliveryStatus: String
"""
Provider
"""
provider: Provider
}
type Provider {
"""
Provider Type
"""
type: String
"""
Provider Name
"""
name: String!
}
I receive the following error from eslint:
error type "Provider" must have exactly one non-nullable unique identifier.
Accepted names: id, or ID.
This graphql endpoint is publishing an existing API, but with extra information appended to it where it was more efficient to do so in the endpoint than via a supergraph.
As such, there are no ID’s for the providers.
Anyone any ideas what I can do here please?