README.md in graphql-preload-1.0.2 vs README.md in graphql-preload-1.0.3
- old
+ new
@@ -38,11 +38,11 @@
preload :comments
# Post.includes(:comments, :authors)
preload [:comments, :authors]
- # Post.includes(:comments, authors: [:posts, :followers])
- preload [:comments, { authors: [:posts, :followers] }]
+ # Post.includes(:comments, authors: [:followers, :posts])
+ preload [:comments, { authors: [:followers, :posts] }]
resolve ->(obj, args, ctx) { obj.comments }
end
end