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

Custom types to be auto-retrieved from the State #29

Open
msrd0 opened this issue Mar 16, 2021 · 0 comments
Open

Custom types to be auto-retrieved from the State #29

msrd0 opened this issue Mar 16, 2021 · 0 comments

Comments

@msrd0
Copy link
Owner

msrd0 commented Mar 16, 2021

As of right now, our derive macro for the methods handle predefined names such as conn or auth. It would be nice if this was allowed for custom types through a trait or similar. This might be easy for auth, but more complicated for conn as the database connection requires wrapping the body, which might make this impossible to completely replace the current types, but would at least allow users to add own types.

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

No branches or pull requests

1 participant