You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was a bug with the enum placeholder ordering
Input like the following
```
interface SomeInterface {
product_type: String @doc(description: "The type of product, such as simple, configurable, etc.")
}
enum SomeEnum {
}
```
would have placeholder logic ran against it and end up like
```
interface SomeInterface {
product_type: String @doc(description: "The type of product, such as simple, configurable, etc.")
}
enum SomeEnum {
placeholder_graphql_field: String
}
```
This caused an error, something in the AST was trying to make it resolve against the word "Type" in the @doc description
By fixing the enum so that it does not have `: String` in it the AST is generated successfully, we do this by replacing those empty enums first so that they cannot get caught by the empty type check
0 commit comments