Class: FragmentGraphQl::CustomClient::Definition

Inherits:
GraphQL::Client::Definition
  • Object
show all
Defined in:
lib/fragment_client.rb

Overview

Keeps a memory address out of the operation name sent to the API.

Instance Method Summary collapse

Instance Method Details

#definition_nameObject



57
58
59
# File 'lib/fragment_client.rb', line 57

def definition_name
  super.gsub(/#<Module.*>/, 'FragmentGraphQl__Dynamic')
end