Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

c.exception() missing for extensions. #196

Open
J053Fabi0 opened this issue Aug 23, 2023 · 1 comment
Open

c.exception() missing for extensions. #196

J053Fabi0 opened this issue Aug 23, 2023 · 1 comment
Labels
design A issue or pull request regarding the design. extension
Milestone

Comments

@J053Fabi0
Copy link

J053Fabi0 commented Aug 23, 2023

1.4.0

I'm getting a deprecated warning when using new Exception telling me to use c.exception() instead, but ExtensionContext doesn't have that function.

image

It's working well with normal routes, though.

image

@boywithkeyboard
Copy link
Owner

@J053Fabi0 the Extensions API will get a breaking rewrite at v2.0 as the naming of variables/methods isn't really the best plus I'd like to simplify it a lot.

Thanks for making me aware of this issue!

@boywithkeyboard boywithkeyboard added the bug Something isn't working how it should. label Aug 23, 2023
@boywithkeyboard boywithkeyboard added this to the v2.0 milestone Aug 23, 2023
@boywithkeyboard boywithkeyboard added extension design A issue or pull request regarding the design. and removed bug Something isn't working how it should. labels Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
design A issue or pull request regarding the design. extension
Projects
None yet
Development

No branches or pull requests

2 participants