Skip to content

v1.0.0 Release

Latest
Compare
Choose a tag to compare
@ooaklee ooaklee released this 11 Sep 22:51
· 1 commit to main since this release
db639db

What's included in this release?

  • Update top-level response members from meta, status and data -> meta, errors and data
  • Updated Manifest Error Item fields
  • Updated logic & added new aide NewHTTPMultiErrorResponse to support multiple error response objects in response
  • Refactored code
  • Added logic to support users passing custom error transfer objects (TransferObjectError), reply.WithTransferObjectError
    • Added RefreshTransferObject method call to TransferObjectError
  • Updated Token attributes & methods on base Transfer Object to have a generic name to cover cases where API uses different token identifiers
    • AccessToken -> TokenOne & RefreshToken -> TokenTwo
  • Added logic to set StatusCode if not set already. Defaults to 400.
  • Updated README

Installation

go get github.com/ooaklee/[email protected]