Skip to content

pagination macro in many_to_many ?  #33

@mydearxym

Description

@mydearxym

hi guys ~

let's say i have a post type with many started_users field witch resolved by assoc macro, it's great , but how to do pagination in this situation ?

object :post do
   field(:id, non_null(:id))
   field(:title, non_null(:string))
   field(:body, non_null(:string))
   field(:author, :author, resolve: assoc(:author))
>  field(:starred_users, list_of(:user), resolve: assoc(:starredUsers))
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions