lib/jsonapionify/api/relationship/many.rb in jsonapionify-0.12.8 vs lib/jsonapionify/api/relationship/many.rb in jsonapionify-0.12.9

- old
+ new

@@ -81,9 +81,13 @@ response_object[:data] = build_resource_identifier_collection(collection: collection) response_object.to_json end end + context :instance do + nil + end + context :scope do |context, owner:| instance_exec(rel.name, owner, context, &rel.resolve.destructure) end after :commit_add, :commit_remove, :commit_replace do |owner:|