class ElasticGraph::GraphQL::ScalarCoercionAdapters::LocalTime
def self.coerce_input(value, ctx)
def self.coerce_input(value, ctx) validated_value(value) || raise(::GraphQL::CoercionError, "Could not coerce value #{value.inspect} to LocalTime: must be formatted as an RFC3339 partial time (such as `14:23:12` or `07:05:23.555`") end
def self.coerce_result(value, ctx)
def self.coerce_result(value, ctx) validated_value(value) end
def self.validated_value(value)
def self.validated_value(value) ?(::String) && VALID_LOCAL_TIME_REGEX.match?(value)