Skip to content
Snippets Groups Projects

[graphql] Convert to using the new query interpreter runtime

Merged Brett Walker requested to merge bw-graphql-interpreter into master
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -12,6 +12,8 @@ class TimeType < BaseScalar
DESC
def self.coerce_input(value, ctx)
return if value.nil?
Time.parse(value)
rescue ArgumentError, TypeError => e
raise GraphQL::CoercionError, e.message
Loading