Skip to content

Normalize Throwable rejection handling - #78

Merged
mcg-web merged 1 commit into
overblog:masterfrom
simPod:fix/throwable-values
Aug 18, 2026
Merged

Normalize Throwable rejection handling#78
mcg-web merged 1 commit into
overblog:masterfrom
simPod:fix/throwable-values

Conversation

@simPod

@simPod simPod commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Treat both Exception and Error values as rejected loads.
  • Propagate Throwable consistently through DataLoader and promise adapters.
  • Keep unwrap behavior consistent for all supported adapters.

Motivation

PHP Error implements Throwable but not Exception. Exception-only checks could resolve errors as successful values or lose adapter rejections.

@mcg-web

mcg-web commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Can you fix this conflict please @simPod ?

@simPod
simPod force-pushed the fix/throwable-values branch from b77d6db to f06ce5e Compare August 18, 2026 06:36
@simPod

simPod commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

Done

@mcg-web
mcg-web merged commit 632e115 into overblog:master Aug 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants