Spraypaint the isomorphic, framework-agnostic Graphiti ORM

Includes

Use #includes() to “sideload” associations:

Post.includes("comments").all()

/posts?include=comments

You can also pass an array of associations:

Post.includes(["blog", "comments"]).all()

/posts?include=blog,comments

Or an object for nested associations:

Post.includes(["blog", { comments: "author" }]).all()

/posts?include=blog,comments.author