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

Lightweight Middleware Version #2

Merged
merged 6 commits into from
May 18, 2019
Merged

Lightweight Middleware Version #2

merged 6 commits into from
May 18, 2019

Conversation

xeoncross
Copy link
Owner

Instead of trying to clone the handler (which often has Dependencies on it), we should just ask for a copy of the struct that you want to populate and return a new instance of it if validation succeeds. This simplifies a lot of things and helps mid stay out of the way better.

@xeoncross xeoncross merged commit 096465e into master May 18, 2019
@xeoncross xeoncross deleted the lightweight-middleware branch May 18, 2019 03:52
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