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

admin and hooks return Response<C> in execute_* #417

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

ethanfrey
Copy link
Member

Closes #408

Copy link
Contributor

@ueco-jb ueco-jb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgmt

@@ -1,5 +1,6 @@
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use std::fmt;
Copy link
Contributor

@ueco-jb ueco-jb Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Personally I would add whole std::fmt::Debug here and second file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I use this other places as well.
Let's change them all in another PR if this seems more clear. (feel free to make an issue)

@ethanfrey ethanfrey merged commit 0077c95 into main Sep 14, 2021
@ethanfrey ethanfrey deleted the 408-generalize-controllers branch September 14, 2021 08:54
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.

Generalize controllers
2 participants