Post #2812309
2025-10-15 02:51 UTC
@francois@ruby.social @hanami@ruby.social You can use the shorthand syntax like you're asking for sure.
One thing to note is using the container `Deps` includes in that style you'd have to call MyApp::Deps instead of just `Deps` unless you used a module of your App and then did the shorthand style (so one layer of nesting).
This is since the constants won't be loaded in the shorthand style automatically.
module MyApp
class Actions::Users::Params < Hanami::Action::Params
include Deps["view.."]
Replies (0)
No replies.