Exception: HQ::GraphQL::Ext::ActiveRecordExtensions::ActiveRecordError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hq/graphql/ext/active_record_extensions.rb

Constant Summary collapse

MISSING_MODEL_MSG =
"Your GraphQL object must be connected to a model: `::GraphQL::Schema::Object.with_model 'User'`"
MISSING_ATTR_MSG =
"Can't find attr %{model}.%{attr}'`"
MISSING_ASSOC_MSG =
"Can't find association %{model}.%{assoc}'`"