archethic-foundation / archethic-foundation/archethic-node

GraphQL Pagination could be optimized

Open
#1,598 0 comments 0 reactions 0 assignees View on GitHub
API
Dominant language
Elixir
Stars
82
Forks
24
PR merge metrics
No merged PRs in 30d

Description

### Describe the problem you discovered

`Resolver.paginate_transactions` list all the addresses then fetch all the transaction then filter

### Describe the solution you'd like

we should list addresses and then filtering then fetching the transaction.

### Epic

_No response_

Contributor guide

Open the contributing guide

Research direction

Start at the GraphQL Resolver.paginate_transactions entry point and trace how addresses and transactions are currently retrieved and filtered. Verify the pagination behavior and add or update coverage for the optimized retrieval order; done means filtering addresses before fetching their transactions without changing results.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir, graphql
Domain
api, blockchain
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.