Skip to content

Add id field to graphql entities #1976

@arkid15r

Description

@arkid15r

Is your feature request related to a problem? Please describe.

An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#%7B%22version%22%3A%223.13.8%22%2C%22message%22%3A15%2C%22args%22%3A%5B%22user%22%2C%22Query%22%2C%22either%20ensure%20all%20objects%20of%20type%20UserNode%20have%20an%20ID%20or%20a%20custom%20merge%20function%2C%20or%20%22%2C%22Query.user%22%2C%22%7B%5Cn%20%20%5C%22__typename%5C%22%3A%20%5C%22UserNode%5C%22%2C%5Cn%20%20%5C%22avatarUrl%5C%22%3A%20%5C%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F7842%3Fv%3D4%5C%22%2C%5Cn%20%20%5C%22bio%5C%22%3A%20%5C%22Creator%20of%20%40AppThreat%20%5C%22%2C%5Cn%20%20%5C%22company%5C%22%3A%20%5C%22AppThreat%5C%22%2C%5Cn%20%20%5C%22contributionsCount%5C%22%3A%201312%2C%5Cn%20%20%5C%22createdAt%5C%22%3A%201208544865%2C%5Cn%20%20%5C%22email%5C%22%3A%20%5C%22prabhu%40appthreat.com%5C%22%2C%5Cn%20%20%5C%22followersCount%5C%22%3A%20126%2C%5Cn%20%20%5C%22followingCount%5C%22%3A%202%2C%5Cn%20%20%5C%22issuesCount%5C%22%3A%20378%2C%5Cn%20%20%5C%22location%5C%22%3A%20%5C%22%5C%22%2C%5Cn%20%20%5C%22login%5C%22%3A%20%5C%22prabhu%5C%22%2C%5Cn%20%20%5C%22name%5C%22%3A%20%5C%22prabhu%5C%22%2C%5Cn%20%20%5C%22publicRepositoriesCount%5C%22%3A%2087%2C%5Cn%20%20%5C%22releasesCount%5C%22%3A%20219%2C%5Cn%20%20%5C%22url%5C%22%3A%20%5C%22https%3A%2F%2Fgithub.com%2Fprabhu%5C%22%5Cn%7D%22%2C%22%7B%5Cn%20%20%5C%22__typename%5C%22%3A%20%5C%22UserNode%5C%22%2C%5Cn%20%20%5C%22bio%5C%22%3A%20%5C%22Creator%20of%20%40AppThreat%20%5C%22%2C%5Cn%20%20%5C%22login%5C%22%3A%20%5C%22prabhu%5C%22%2C%5Cn%20%20%5C%22name%5C%22%3A%20%5C%22prabhu%5C%22%5Cn%7D%22%5D%7D

Image

Describe the solution you'd like

Add unique id field to all entities we expose via graphql endpoints. Prefer non-integer attributes first (e.g. project key instead of its object ID from DB) where possible, fallback to instance IDs.

Are you going to work on implementing this?

  • Yes
  • No

Metadata

Metadata

Labels

bugSomething isn't workingenhancementgssoc25GirlScript Summer of Code 2025level 25 points

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions