Skip to content

Releases: LUSHDigital/microservice-core-golang

1.0.1

27 Mar 15:30
bb534ed
Compare
Choose a tag to compare

In the even that JSON input is malformed (syntax error), we'd return a 422. If however, the caller were to use the wrong data type for a field, (see below), we'd return a 500. This tag/release returns 422s for all JSON-related issues, as they all pertain to duff input from the caller.

{
    "name": 123
}

1.0.0

26 Mar 14:06
02a8a19
Compare
Choose a tag to compare

Using JSON marshaller instead of encoder and allowing custom message for SQLError.
Replaced usage of json.NewEncoder with json.Marshal.
Signature of PaginatedResponse.WriteTo and JSONResponseFormatter now changed to return an error.

0.1.2

09 Mar 16:12
Compare
Choose a tag to compare

Changed SQL no error status code from 422 to 204

0.1.2

09 Mar 16:09
Compare
Choose a tag to compare

Really minor stuff and a few extra tests.

0.1.0

18 Jan 13:28
Compare
Choose a tag to compare

Initial Release