grantila / grantila/typeconv

[gql] `input` type is not getting converted

Open
#27 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
447
Forks
10
PR merge metrics
No merged PRs in 30d

Description

`input` types in GraphQL are not getting converted.

Example:

```gql
##### type.graphql #####

type Foo {
bar: String!
}

##### input.graphql #####

input FooInput {
bar: String!
}
```

```sh
$ typeconv -f gql -t ts ./type.graphql

💡 Converted 1 types in 1 files, in 0.0s

$ typeconv -f gql -t ts ./input.graphql

💡 Converted 0 types in 1 files, in 0.0s

# Note that I wrote this output myself and didn't actually test the two files above ;-)
# I did test the behavior with actual development/production use GraphQL schmas however
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.