Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support multiple positionals in polymorphic errors #15

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

kettanaito
Copy link
Member

Current behavior

invariant.as(MyError, 'Cannot %s the %s', 'fetch', 'user')
// "Cannot fetch,user the undefined"

@kettanaito kettanaito merged commit ccbc6d8 into main Jul 5, 2024
1 check passed
@kettanaito kettanaito deleted the fix/polymorphic-positionals branch July 5, 2024 10:01
@kettanaito
Copy link
Member Author

Released: v1.4.3 🎉

This has been released in v1.4.3!

Make sure to always update to the latest version (npm i outvariant@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

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.

1 participant