Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
Syntax Error: Expected Name found :
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
- Loading branch information