Skip to content

2.4.0

Compare
Choose a tag to compare
@ProtocolNebula ProtocolNebula released this 18 Jan 20:53
· 49 commits to main since this release

This can break your angular 2 app, now all APIs require a model instance.
Also returns an instance, this can be a big break change, please test your app after the build (in another branch) and fix all manually.

Added

  • Added support for numeric enums
  • In "api-model":
    • "contentType" (request)
  • In "model-attributes" model:
    • isTypePrimitive
    • isNotPrimitive

Changes

  • API Base (angular 2):
    • You can add to your angular without doing changes
    • Removed all store dependences
    • Removed handle error
  • Angular 2 template:
    • Added "model-base" which are extended by all generated models to parse/stringfy models
    • Added "mapping" to all API responses (with model-base)