Skip to content

Commit 5e85d64

Browse files
committed
pagination
1 parent 3f614bb commit 5e85d64

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

graphql/category.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
extend type Query {
2-
categories: [Category!]! @all
2+
categories: [Category!]! @paginate
33
category(id: ID! @eq): Category @find
44
}

graphql/post.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
extend type Query {
2-
posts: [Post!]! @all
2+
posts: [Post!]! @paginate
33
post(id: ID! @eq): Post @find
44
search(key: String!): [Post]!
55
popularPosts: [Post]!

graphql/tag.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
extend type Query {
2-
tags: [Tag!]! @all
2+
tags: [Tag!]! @paginate
33
tag(id: ID! @eq): Tag @find
44
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy