graphprotocol / graphprotocol/graph-node

distinct() in queries

Open
#1,768 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/graphql enhancement
Dominant language
Rust
Stars
3.2k
Forks
1.1k
Avg merge
4d 1h
Merged PRs (30d)
1

Description

Do you want to request a feature or report a bug?
feature

Please add distinct() to queries (as describes in https://stackoverflow.com/a/53636732/856090).

This would help to save network traffic and your processing power.

Contributor guide

Open the contributing guide

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

Read the requested behavior in the issue and the linked Stack Overflow example first. Locate the query-handling entry point and existing query tests, then define the supported distinct() semantics and add coverage showing when duplicate results are removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, rust
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.