brandonchinn178 / brandonchinn178/graphql-client
Generate input types
- 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