Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

js-entity-repos/core

Repository files navigation

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.