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

Auto-detect exception handlers #6

Closed
kkharji opened this issue Jan 4, 2022 · 0 comments
Closed

Auto-detect exception handlers #6

kkharji opened this issue Jan 4, 2022 · 0 comments
Labels
dev-mode Releates to development mode only enhancement New feature or request prod-mode Releates to prod mode UX

Comments

@kkharji
Copy link
Owner

kkharji commented Jan 4, 2022

Currently the user is required to define the value of duct.reitit/exception manually. which usually will be just referring to another user defined key.

 ;; Exception handling configuration
  :duct.reitit/exception  #ig/ref :foo.handler/exceptions

If <project-ns>.<handler-ns>/exceptions or <project-ns>.<handler-ns>.exceptions/main keys exists then it should auto-detected and not require the user to define duct.reitit/exception key

@kkharji kkharji added dev-mode Releates to development mode only enhancement New feature or request prod-mode Releates to prod mode UX labels Jan 4, 2022
@kkharji kkharji closed this as completed in 2a8c648 Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-mode Releates to development mode only enhancement New feature or request prod-mode Releates to prod mode UX
Projects
None yet
Development

No branches or pull requests

1 participant