Skip to content
Snippets Groups Projects

[graphql] Convert to using the new query interpreter runtime

Merged Brett Walker requested to merge bw-graphql-interpreter into master
3 files
+ 2
6
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -4,8 +4,6 @@ module FindClosest
# Find the closest node which has any of the given types above this node, and return the domain object
def closest_parent(types, parent)
while parent
binding.pry
if parent.respond_to?(:object) && types.any? {|type| parent.object.instance_of? type}
return parent.object.object
else
Loading