Class: Capsium::Reactor::GraphqlSchema::JsonScalar
- Inherits:
-
GraphQL::Schema::Scalar
- Object
- GraphQL::Schema::Scalar
- Capsium::Reactor::GraphqlSchema::JsonScalar
- Defined in:
- lib/capsium/reactor/graphql_schema.rb,
sig/capsium/reactor/graphql_schema.rbs
Overview
Permissive scalar carrying any JSON value.
Class Method Summary collapse
Methods inherited from GraphQL::Schema::Scalar
Class Method Details
.coerce_input(input_value, _context) ⇒ Object
21 |
# File 'lib/capsium/reactor/graphql_schema.rb', line 21 def self.coerce_input(input_value, _context) = input_value |
.coerce_result(ruby_value, _context) ⇒ Object
23 |
# File 'lib/capsium/reactor/graphql_schema.rb', line 23 def self.coerce_result(ruby_value, _context) = ruby_value |