Paginated Relations

Paginated Relations

We're happy to announce the release of paginated relations.

You can now paginate relations using arguments first, last, before, and after with connection types — learn more about Pagination.

type Category @model {
  name: String
  posts: [Post]

type Post @model {
  title: String
  category: Category

The schema above represents a Category that has many Posts, and a Post belongs to one Category.

We'd love to hear your feedback and ideas, so join us on Discord.