0no-co / gql.tada

🪄 Magical GraphQL query engine for TypeScript
https://gql-tada.0no.co
MIT License
2.45k stars 36 forks source link

tadaTurboLocation and tadaPersistedLocation are now required in 1.6.1 when using multiple schemas #269

Closed nathanchapman closed 2 months ago

nathanchapman commented 2 months ago

Describe the bug

When omitting the tadaTurboLocation and tadaPersistedLocation fields when using multiple schemas, it results in the following errors:

 ⚠ Error
Failed to load configuration.
┗ All 'tadaTurboLocation' values in 'schemas' must be unique.

 ⚠ Error
Failed to load configuration.
┗ All 'tadaPersistedLocation' values in 'schemas' must be unique.

Reproduction

No response

gql.tada version

1.6.1

Validations

kitten commented 2 months ago

This is intended behaviour, but the error messages are indeed a little misleading and too eager.