@js-entity-repos/core

9.1.1 • Public • Published

core

Provides common interfaces and tests for concrete implementations of js-entity-repos. The js-entity-repos use the repository design pattern and attempt to reduce the code required in JavaScript projects with entities.

Usage

FeathersJS

The project has some similarities with parts of the FeathersJS framework, but unfortunately I've found the following issues with FeathersJS.

  • Their pagination uses skip and limit instead of cursors which causes issues as discussed by Rakhitha Nimesh.
  • Their service interface is missing some functions provided in the Facade here.
  • Their errors take messages instead of parameters making it harder to support localisation.

Thanks

Thanks to James, Mariusz, and Pete at HT2 Labs for their feedback.

Readme

Keywords

none

Package Sidebar

Install

npm i @js-entity-repos/core

Weekly Downloads

0

Version

9.1.1

License

GPL-3.0

Unpacked Size

223 kB

Total Files

162

Last publish

Collaborators

  • ryansmith94