ardatan / ardatan/graphql-mesh

Field Argument Type Rewriter Transform

Open
#3,960 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.5k
Forks
363
Avg merge
6h 10m
Merged PRs (30d)
19

Description

It would be very helpful to additional transforms for field arguments. Currently only argument renaming is supported, but not argument retyping.

An alternative solution is what this repo offers https://github.com/graphql-query-rewriter/core. But it is much more limited to graphql-mesh since it only offers field argument rewriting. And it wouldn't be very clean to use it in conjunction with graphql-mesh.

A proposed solution would be to add an experimental field argument type transform that leverages this alternative pkg, or maybe extend the rename tool to also be able to change argument types.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing field-argument rename transform and comparing its constraints with graphql-query-rewriter/core. Done means agreeing on and implementing a retyping approach for graphql-mesh, with coverage for changed argument types; the issue does not name files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
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.