class GraphqlMigrateExecution::HashKey
These can be future-proofed with hash_key: ... configurations.
Public Instance Methods
Source
# File lib/graphql_migrate_execution/hash_key.rb, line 7 def migrate(field_definition) key = field_definition.type_definition.returns_string_hash? ? field_definition.name.to_s.inspect : field_definition.name.inspect inject_field_keyword(field_definition, :hash_key, key) end