0no-co / gql.tada

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

fix(internal, cli-utils): Remove `null` cases from schema loaders, simplifying error handling #214

Closed kitten closed 4 months ago

kitten commented 4 months ago

Summary

When applied, this change removes null cases from the schema loaders and replaces them with appropriate errors. Instead of having to handle missing schemas separately, the CLI now receives errors for each case where we previously fell back to returning a null result.

Set of changes

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 17413451f4e8d4c34dc7e95241bd92805596849e

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR