Skip to content

validateSchema no longer throws#184

Merged
NeedleInAJayStack merged 1 commit into
GraphQLSwift:mainfrom
NeedleInAJayStack:feat/avoid-throwing-on-validate
Jul 8, 2026
Merged

validateSchema no longer throws#184
NeedleInAJayStack merged 1 commit into
GraphQLSwift:mainfrom
NeedleInAJayStack:feat/avoid-throwing-on-validate

Conversation

@NeedleInAJayStack

@NeedleInAJayStack NeedleInAJayStack commented Jul 8, 2026

Copy link
Copy Markdown
Member

This simplifies the downstream handling of errors by avoiding a separate error handling step outside of the direct results.

This is considered a minor semver change, because removing throws from a function signature will cause a warning: no calls to throwing functions occur within 'try' expression, but will not break compilation.

@NeedleInAJayStack NeedleInAJayStack force-pushed the feat/avoid-throwing-on-validate branch from f5288e0 to c701a0c Compare July 8, 2026 03:14
@NeedleInAJayStack NeedleInAJayStack changed the title feat: validateSchema no longer throws validateSchema no longer throws Jul 8, 2026
@NeedleInAJayStack NeedleInAJayStack merged commit 2d27d8f into GraphQLSwift:main Jul 8, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant