Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.
/ core Public archive

Provides common interfaces and tests for js-entities-repos.

License

Notifications You must be signed in to change notification settings

js-entity-repos/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ba5ff09 · Oct 2, 2019
Sep 21, 2019
Dec 19, 2017
Mar 29, 2018
May 14, 2018
Dec 18, 2017
Dec 18, 2017
Dec 18, 2017
Dec 20, 2017
Dec 18, 2017
Oct 2, 2019
Sep 27, 2019
May 3, 2018
Dec 18, 2017
Dec 18, 2017
Dec 18, 2017

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.