Skip to content

v0.7.0

Choose a tag to compare

@brandongregoryscott brandongregoryscott released this 22 Jun 13:06
· 20 commits to main since this release

v0.7.0 Release

Release notes

Adds new RecordUtils functions for generating defaultValues objects - ensures the developer does not miss any properties, even if they are "optional" in the original type. See #130 for changes.

Notable features:

  • defaultValuesFactory which essentially just provides typing to ensure consumer doesn't miss any properties of type T
  • auditableDefaultValuesFactory which does the same, but also provides defined properties for Auditables
  • ensureRecords which takes an array of objects and maps it through ensureRecord, which is common for view model constructors to do for navigation properties
  • Ported repo over to a Github Actions workflow script for the build
  • Separated out tsconfig.json to a distribution version which excludes tests (tsconfig.dist.json), which should restore Jest matcher intellisense in IDEs

Known issues

#129 AuditableDefaultValues / Factory for requiring properties to be set

Contributors

@brandongregoryscott