Gql
This service can be used to return GQL errors and translate them if localize service is registered
Register the service into your main.go
file:
registry.ServiceProviderGql()
1
Access the service:
service.DI().Gql()
1
The methods that can be used are GraphqlErr
and GraphqlErrPath