Internal Error: Unexpected extension kind: 'InputObjectTypeDefinition'
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
When building using the babel plugin, it fails with the error `Module not found: Internal Error: Unexpected extension kind: 'InputObjectTypeDefinition'`.

I have only one graphql version in my yarn lock file:
```
"resolutions": {
"graphql": "^15.4.0"
},
```
And here's the schema:
```
### This file was generated by Nexus Schema
### Do not make changes to this file directly
type Chat implements Node {
createdAt: DateTime
iconEmoji: String
id: GlobalID!
spaceId: GlobalID
title: String
}
input ChatsInput {
spaceId: GlobalID
}
"""
A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.
"""
scalar DateTime
"""
A globally unique node id consisting of type:id
"""
scalar GlobalID
interface Node {
id: GlobalID!
}
type Query {
chats(input: ChatsInput): Chat
hello(name: String): String
}
type Subscription {
greetings: [String]
}
```
Contributor guide
Assessment
This issue has not been assessed yet.