controller
controller copied to clipboard
Complete, fast and testable actions for Rack and Hanami
It would be nice to be able to rescue from anticipated errors without needing to _require the gem_ at the top of the action in order to make that error...
Hi, I run into an issue with request formats. Seems like action compares whole content type against config media types [when enforcing content type.](https://github.com/hanami/controller/blob/main/lib/hanami/action/mime.rb#L225) In result action can't accept multipart...
The `Hanami::Router` integration docs seems to be incorrect. It references two parameters (`configuration` and `namespace`) that are not accepted by the current 2.x `Hanami::Router` version: https://github.com/hanami/controller/blob/2eb83900e298a03a7dadce9cbd1adef33dfec83e/README.md?plain=1#L884-L905 I also noticed that,...
We've tried to upgrade a dependency and got errors running Bundler. It looks like there is a version conflict between two or more dependencies. Depfu doesn't try to solve these,...
We've tested your project with an updated dependency and the build failed. This version is either within the version range you specified or you haven't specified a version/range. To be...
Retrieve the request CSRF token from the HTTP header `X-CSRF-Token` in the case the params `_csrf_token` is not provided. Reference: - #420
It would be nice to be able to configure the CSRF validation so it can be read from a particular HTTP header. Let me know if this is something that...
In `dry-validations` and `hanami-validations` we can define arbitrary _rules_, which are particularly handy when defining a validation that acts on multiple attributes, e.g.: ```ruby class EventContract < Dry::Validation::Contract params do...
We've tried to upgrade a dependency and got errors running Bundler. It looks like there is a version conflict between two or more dependencies. Depfu doesn't try to solve these,...
We've tried to upgrade a dependency and got errors running Bundler. It looks like there is a version conflict between two or more dependencies. Depfu doesn't try to solve these,...