Releases: LUSHDigital/core-lush
Releases · LUSHDigital/core-lush
fix: missing bad request generator
Add missing method NewBadRequestError
Add new Bad Request Error type
To improve our api handling this MR creates a BadRequestError that can be used to show that the client's error is malformed. Will allow us to then act on this error type by switching on our errors.
v0.3.1
v0.3.0
v0.2.1
v0.2.0
Nullable types added in to deprecate old sqltypes
v0.1.1
v0.1.0
- Add the
lusherr
package- Provide
Pin
andLocate
to attach caller information to determine where an error occurred in code - Provide standard errors to be used within domain logic for common exceptions e.g. Not Found, Database Query Error, Validation Error etc
- Provide
- Extend
lushauth
package with auth policies- Add the concept of the
Permitter
interface to streamline permission checking for services - Add several base policies to be used and extended within domain logic of code bases e.g.:
MarketPolicy
for market level accessRolePolicy
for global role based accessUserPolicy
for user specific accessGrantPolicy
for action specific accessAllPolicy
&AnyPolicy
for combining access policies
- Add the concept of the