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

Support Spec namespace #13

Open
kkharji opened this issue Jan 10, 2022 · 0 comments
Open

Support Spec namespace #13

kkharji opened this issue Jan 10, 2022 · 0 comments
Labels
prod-mode Releates to prod mode UX

Comments

@kkharji
Copy link
Owner

kkharji commented Jan 10, 2022

While working on gathering requirement for #9 it became apparent that duct.reitit/routes would become hard to read easily.

To solve this potential unwanted complexity in configurations, duct.core/spec-ns should be supported the same way duct.core/middleware-ns and duct.core/handler is.

Users then can define spec for requests and responses like <project-ns>.<spec-ns>/login-user, <project-ns>.<spec-ns>.user/login and then either reference them with a keyword after defining them in registry or reference the symbol directly

@kkharji kkharji added prod-mode Releates to prod mode UX labels Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prod-mode Releates to prod mode UX
Projects
None yet
Development

No branches or pull requests

1 participant