lib/graphiti/active_graph/runner.rb in graphiti-activegraph-0.1.2 vs lib/graphiti/active_graph/runner.rb in graphiti-activegraph-0.1.3
- old
+ new
@@ -18,10 +18,11 @@
scope_opts = opts.slice :sideload_parent_length,
:default_paginate,
:after_resolve,
:sideload,
:parent,
- :params
+ :params,
+ :preloaded
scope = jsonapi_scope(base, scope_opts) unless jsonapi_resource.relation_resource?
preloaded = opts[:preloaded] || (jsonapi_resource.relation_resource? && jsonapi_resource.base_scope)
options = { payload: deserialized_payload,
single: opts[:single],
raise_on_missing: opts[:raise_on_missing],