ardatan / ardatan/graphql-tools

Request for a Wrap TransformObjectFieldArguments

Open
#4,475 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.4k
Forks
830
Avg merge
10h 59m
Merged PRs (30d)
45

Description

Currently there's only the `RenameObjectFieldArguments` class useful for renaming field arguments but it would be great to have another class (maybe a transform class) that allows to modify the type of field arguments as well.

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.

Related to https://github.com/Urigo/graphql-mesh/issues/3960

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing RenameObjectFieldArguments class and reviewing the related graphql-mesh issue 3960. Define the scope of a transform class that can modify field-argument types, then confirm that the resulting API supports the requested use case without relying on graphql-query-rewriter.

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
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.