Class: ElasticGraph::SchemaArtifacts::RuntimeMetadata::ConfiguredGraphQLResolver
- Inherits:
-
Object
- Object
- ElasticGraph::SchemaArtifacts::RuntimeMetadata::ConfiguredGraphQLResolver
- Defined in:
- lib/elastic_graph/schema_artifacts/runtime_metadata/configured_graphql_resolver.rb
Constant Summary collapse
- NAME =
"name"- CONFIG =
"config"
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#to_dumpable_hash ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/elastic_graph/schema_artifacts/runtime_metadata/configured_graphql_resolver.rb', line 27 def to_dumpable_hash { # Keys here are ordered alphabetically; please keep them that way. CONFIG => Support::HashUtil.stringify_keys(config), NAME => name.to_s }.reject { |_, v| v.empty? } end |