brandonchinn178 / brandonchinn178/graphql-client

Generate input types

Open
#8 0 comments 1 reaction 0 assignees View on GitHub
graphql-codegen
Dominant language
TypeScript
Stars
24
Forks
6
PR merge metrics
No merged PRs in 30d

Description

A query
```graphql
query getFoo($input: MyInput) {
...
}
```
where `MyInput` is
```graphql
input MyInput {
foo: Int
}
```
should generate
```haskell
data MyInput = MyInput
{ _foo :: Int
}

data GetFooArgs = GetFooArgs
{ _input :: MyInput
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the GraphQL query and input-type generation paths in the repository, then trace how the shown MyInput and GetFooArgs types are produced. The work is complete when a query using an input variable generates the Haskell declarations shown in the issue, including the nested input field and argument type.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, typescript
Domain
api, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.