summaryrefslogtreecommitdiffstats
path: root/src/services/graphql/comments.query.ts
Commit message (Collapse)AuthorAgeFilesLines
* fix(comments): load all comments on a postArmand Philippot2022-08-211-13/+24
| | | | | | | | | Previously, only the first 10 comments was loaded. So I update the fetching method to retrieve all the comments on a post. Also, I choose to order comments on client side because of a bug with WPGraphQL. Finally, I renamed the Comment type to SingleComment to avoid conflict with existing types.
* refactor: rewrite API fetching method and GraphQL queriesArmand Philippot2022-05-021-0/+21