Open dphaener opened 7 years ago
The GraphQL gem leaves a lot to be desired when it comes to type coercion, and likely for good reason. We can likely tie into the middleware: https://rmosolgo.github.io/graphql-ruby/schema/configuration_options#type-error-handling to provide better type coercion using dry-rb
Also, possibly simply using middleware: https://rmosolgo.github.io/graphql-ruby/schema/configuration_options#middleware
The GraphQL gem leaves a lot to be desired when it comes to type coercion, and likely for good reason. We can likely tie into the middleware: https://rmosolgo.github.io/graphql-ruby/schema/configuration_options#type-error-handling to provide better type coercion using dry-rb