Skip to content

Commit

Permalink
REPLY-X_Update response top-level members (#5)
Browse files Browse the repository at this point in the history
- Update top-level response members from `meta`, `status` and `data` **->** `meta`, `errors` and `data`
- Updated logic & added new aide `NewHTTPMultiErrorResponse`
- Added logic to support users passing custom *error transfer objects* (`TransferObjectError`), `reply.WithTransferObjectError`
- Rename `AccessToken` -> `TokenOne` & `RefreshToken` -> `TokenTwo`
-  Added logic to set `StatusCode` if not set already. Defaults to `400`.
- Updated README



Co-authored-by: Leon Silcott <lnsilcott+blizzard]@gmail.com>
  • Loading branch information
ooaklee and Leon Silcott authored Sep 11, 2021
1 parent bf721d0 commit db639db
Show file tree
Hide file tree
Showing 6 changed files with 2,693 additions and 532 deletions.
Loading

0 comments on commit db639db

Please sign in to comment.