Class: ElasticGraph::GraphQL::ScalarCoercionAdapters::NoOp
- Inherits:
-
Object
- Object
- ElasticGraph::GraphQL::ScalarCoercionAdapters::NoOp
- Defined in:
- lib/elastic_graph/graphql/scalar_coercion_adapters/no_op.rb
Overview
No-op implementation of coercion interface. Used as the default adapter.
Class Method Summary collapse
Class Method Details
.coerce_input(value, ctx) ⇒ Object
14 15 16 |
# File 'lib/elastic_graph/graphql/scalar_coercion_adapters/no_op.rb', line 14 def self.coerce_input(value, ctx) value end |
.coerce_result(value, ctx) ⇒ Object
18 19 20 |
# File 'lib/elastic_graph/graphql/scalar_coercion_adapters/no_op.rb', line 18 def self.coerce_result(value, ctx) value end |