v1.2.0 small addition to jsonapi package
Highlight
We're adding new method into jsonapi package to make easier assign set of errors into jsonapi body.
Changes
Added
JSONAPI
WithErrors jsonapi option. This method however would not assign error if the errors is already in the response.
jsonapi.BuildResponse(jsonapi.WithErrors(response.Errors))