dcramer / dcramer/peated

Update endpoints to batch queries

Open
#268 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
103
Forks
18
Avg merge
1h 19m
Merged PRs (30d)
555

Description

I did this a bit in some of the mutation endpoitns (e.g. Promise.all), but theres a handful of other cases where we do things like fetch the results + fetch a total count.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue points to mutation endpoints, an existing Promise.all example, and cases that fetch results plus a total count. Start by inventorying the endpoint handlers and their paired queries; done means the remaining applicable endpoints use batched query work without changing their results.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.