npm @cap-js/cds-typer 0.21.0
v0.21.0

latest releases: 0.22.0, 0.21.2, 0.21.1...
one month ago

Added

  • Added IEEE754Compatible flag which, when set to true, generates decimal fields as (number | string) instead of number. This flag will be removed in the long run
  • Added plugin to cds build TypeScript projects. Can be explicitly called using cds build --for typescript

Changed

  • Types representing CDS events are now only declared to avoid having to make their properties optional
  • Singular forms in generated index.js files now contain a .is_singular property as marker for distinguished handling of singular and plural in the runtime
  • Parameters passed to the CLI now take precedence over configuration contained in the typer section of cds.env

Fixed

  • Entities ending with an "s" are no longer incorrectly truncated within extends-clauses
  • Entity names prefixed with their own namespace (e.g. Name.Name, Name.NameAttachments) are not stripped of their name prefix

Don't miss a new cds-typer release

NewReleases is sending notifications on new releases.