An opinionated micro-framework to help you build practical JSON APIs with Play Framework (or akka-http)
This is a major release with several breaking changes, while the idea is the same, the project has changed a lot.
ApplicationError
doesn't depend on play anymoreplaysonify-core
module is added, it contains the common classes for all the modules, depending only on scalactic.playsonify-play
module is added, it contains the classes that depend on play-frameworkplaysonifytest
module is renamed to playsonify-play-test
playsonify-sql
module.FutureListOps
to FutureOr
implicits.FieldOrderingParser
.PaginatedQuery
and PaginatedResult
models.PaginatedQuery
and PaginatedResult
models.WrappedString
, WrappedInt
and WrappedLong
value classes.0.2.0
.ApplicationError
, now it is mandatory to override the toPublicErrorList
method to avoid having errors that can't be rendered, this increases the type-safety.ServerError
to a PublicError
, there are some scenarios where this is useful.Exception
is now optional while defining a ServerError
, useful when forwarding an error coming from another server.AbstractAuthenticatorService
is now covariant, useful when you don't need to authenticate requests.ApplicationErrorMapper
has been removed!Initial public version.