Describe the bug
Seems like spaces are being added around template literal variables when they shouldn't be.
Input
graphql(
> 82 | gql`
| ^
83 | query getTable${isBug ? 'Bug' : ''}(
Output
GraphQLError: Syntax Error: Expected {, found Name "Bug"
Expected output
No bug.
Versions (please complete the following information):
- Babel version: latest
- GraphQL version: 14
- Plugin version: 1.3.3
Additional context
Worked in 1.3.2 as long as there were no spaces. If there were spaces it broke. Can we support both cases?
Describe the bug
Seems like spaces are being added around template literal variables when they shouldn't be.
Input
Output
Expected output
No bug.
Versions (please complete the following information):
Additional context
Worked in
1.3.2as long as there were no spaces. If there were spaces it broke. Can we support both cases?