Hello, I'm discovering pipes
atm and, in the documentation, it seems that there is a missing continue
here: https://luckyframework.org/guides/http-and-routing/before-after-actions#sharing-pipes-across-actions
This code doesn't work and throws an exception Error: no overload matches 'Blog::Index#ensure_pipe_return_response_or_continue' with type Nil
:
# src/actions/mixins/log_request.cr
module LogRequest
macro included
after log_request_path
end
private def log_request_path
Log.dexter.info { {method: request.method, path: request.path} }
end
end
Am I missing something or am I write assuming there is a missing continue after the Log.dexter.info…
line?
1 | class UserFactory < Avram::Factory
^-------------
Error: undefined constant Avram::Factory
script/setup
.