-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Firstly, thank you for making this great library. I really like the simplicity of it and how it also simplifies the service pattern with bubbling exceptions.
I have run into some head scratching today when I got
private method fail called for nil:Class today.
After looking at code it appeared that service initialization in call method was failing because I have passed ActionController::Parameters instance in place of parameters. So initializer failed and there was no instance of service in rescue block.
Maybe it could be feasible to validate parameters or make some kind of universal conversion for them so it won't break on initialization.
Metadata
Metadata
Assignees
Labels
No labels