apollographql / apollographql/apollo-tooling

Customizable operation ID generation

Open
#1,742 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

In the `apollo-android' repo, there is a [new PR](https://github.com/apollographql/apollo-android/pull/1849) that will grant them the ability to alter the generated persisted query operation ID. And it would be great if the same can be done for the codegen here as well to keep our projects in sync.

Is this something `apollo-tooling` is open to? If so, can someone give me some hints on what needs to be update besides `generateOperationId.ts`?

Contributor guide

Open the contributing guide

Research direction

Start with generateOperationId.ts and compare the Apollo Android PR 1849 linked in the issue to understand the requested customization. Trace where generated persisted-query operation IDs are used, then confirm the codegen changes keep the projects in sync and allow the operation ID to be altered as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.