You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The request id should be presented in logs
Versions (please complete the following information, if relevant):
Software version: the latest
OS: macOS
Golang version 1.19.5
Additional context
I'm new in Go and idk how to contribute to your project, but I maybe know why it doesn't work. Each version of go-chi creates its own type (link to src). My project works on chi/v5 and writes the value to the context by own RequestIDKey. When chizap tries to read the value from the same context it attempts to read the value by RequestIDKey from chi version v1.5.4 (according to your go.mod). It doesn't exist and logs contain the empty request id.
The text was updated successfully, but these errors were encountered:
Describe the bug
chizap
can't properly get the request id value from the context due to working with another major version ofgo-chi
To Reproduce
Steps to reproduce the behavior:
go-chi
with major version suffix like /v5 (github.com/go-chi/chi/v5
)Expected behavior
The request id should be presented in logs
Versions (please complete the following information, if relevant):
Additional context
I'm new in Go and idk how to contribute to your project, but I maybe know why it doesn't work. Each version of
go-chi
creates its own type (link to src). My project works onchi/v5
and writes the value to the context by ownRequestIDKey
. Whenchizap
tries to read the value from the same context it attempts to read the value byRequestIDKey
from chi version v1.5.4 (according to your go.mod). It doesn't exist and logs contain the empty request id.The text was updated successfully, but these errors were encountered: