Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialised errors are missing details #146

Closed
gxvxc opened this issue Jul 16, 2024 · 3 comments
Closed

Serialised errors are missing details #146

gxvxc opened this issue Jul 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@gxvxc
Copy link

gxvxc commented Jul 16, 2024

To Reproduce
Steps to reproduce the behavior:

  1. Return an error with Info() from controller
  2. Serialised Detail is missing from the response

Expected behavior
Should add Detail to serilised response

Framework version: 0.13.4

Go version: 1.22

Additional context
The documentation website mentions an Info() method with incomplete type signature. errors.go mentions an ErrorWithInfo interface, but such interface seems not be part of the codebase. I haven't looked through the repo history for it in case it's deleted unintentionally, but I'd be happy to work on a PR to add it.

@gxvxc gxvxc added the bug Something isn't working label Jul 16, 2024
@EwenQuim
Copy link
Member

Hi ! Can you add a code to test and the expected behaviour please?

@EwenQuim
Copy link
Member

#150 and a new release will fix this issue :)

@EwenQuim
Copy link
Member

v0.14 fixes this issue and is already available :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants