Граф коммитов

293 Коммитов

Автор SHA1 Сообщение Дата
Ben Grynhaus cc76fbf322
Fix `modelWith` causing an infinite recursion (#10) 2018-10-22 15:29:37 +03:00
Ben Grynhaus 50dd9e9564 Fix `modelWith` causing an infinite recursion 2018-10-22 15:28:53 +03:00
Yossi Kolesnicov 95e04403b2 Changed description in package.json. 2018-09-17 09:46:52 +03:00
Yossi Kolesnicov 8b00d8a12f Fixed missing 'next' in DataSet. 2018-09-16 17:08:21 +03:00
Yossi Kolesnicov 5c3550872c Bumped version to 1.3.2. 2018-09-02 21:53:50 +03:00
Yossi Kolesnicov b3a4e5719b Fixed a bug in modeling, when receiving a sub model as ID with value 0, the value wouldn't get modeled. 2018-09-02 21:53:04 +03:00
Ben Grynhaus 50aa362b2d
Merge pull request #8 from Microsoft/fix-hashing-circular-dep
Fix hashing when passing an object with circular dependencies to an ApiCall as a parameter
2018-09-02 15:02:58 +03:00
Ben Grynhaus dbff13ad35 Added tests 2018-09-02 11:58:27 +03:00
Ben Grynhaus 34b857f0d9 1.3.1 2018-09-02 11:58:26 +03:00
Ben Grynhaus 6d61188143 Replace cache key generation with 'json-stringify-safe' 2018-09-02 11:58:18 +03:00
Ben Grynhaus 91dcc1fda8 Add 'json-stringify-safe' as bundledDependency to allow cycles inside objects passed to ApiCall 2018-09-02 11:39:04 +03:00
Yossi Kolesnicov 405bf832ba
Modeler (#9)
* Added the Modeler class.

* Optimized imports

* Simplifying ReadonlyRepository and Modeler for a better API and adding unit tests.

* Adding unit tests for modeling and some refactoring

* Added some unit tests.

* Folder reorg, added some tests

* Added SaveRequestMethod for specifying POST/PUT/PATCH HTTP methods.

* Added Travis build file

* Removing unused files

* Fixed tests

* Bumped version to 1.3.0, docs.

* Bug fix - sub-modeling of value objects failed.

* Some bug fixes and unit tests

* Added more unit tests, fixed some bugs.

* Added modeler docs

* Removed codecov badge (for now). Added npm package version badge to readme.

* Removed codecov badge (for now). Added npm package version badge to readme.
2018-09-01 22:36:41 +03:00
Ben Grynhaus bc22f257d7
Merge pull request #6 from Microsoft/fix-build-issue
fix build issue due to TS bug
2018-08-20 13:58:35 +03:00
Yossi Kolesnicov f651e8a262
Create CODE_OF_CONDUCT.md 2018-08-19 14:40:38 +03:00
Ben Grynhaus 0a9ea3cbe0 fix build issue due to TS bug 2018-08-16 20:19:49 +03:00
Ben Grynhaus c462eb34ab
Merge pull request #5 from Microsoft/model-with
Add ability to model any number of subclasses for a given entity
2018-08-13 15:56:27 +03:00
Ben Grynhaus 773e347689 Rename & added better docs for getModelData 2018-08-13 15:21:48 +03:00
Ben Grynhaus a62f3ef387 Enhanced docs for `modelWith` 2018-08-13 15:13:07 +03:00
Ben Grynhaus 0f2d40e1da Added Omer Mizrachi as contributor 2018-08-13 15:13:07 +03:00
Ben Grynhaus 5f11da5496 1.2.0 2018-08-13 15:13:07 +03:00
Ben Grynhaus 376003edcb Added contributors 2018-08-13 15:13:07 +03:00
Ben Grynhaus 2cd6ed19e5 Add support for `modelWith`
# Conflicts:
#	.vscode/settings.json
2018-08-13 15:13:06 +03:00
Ben Grynhaus 6b03d15e1a
Merge pull request #4 from Microsoft/jest
Replace mocha + karma + chai with jest
2018-08-13 13:50:34 +03:00
Ben Grynhaus 825d83e90d Added a note about testing using Jest 2018-08-13 13:50:25 +03:00
Ben Grynhaus 2d00bf7c8c Fixed outdated readme 2018-08-13 13:48:39 +03:00
Yossi Kolesnicov 218d15d904 Added Jest ignore pattern for /dist folder. 2018-08-13 11:01:08 +03:00
Ben Grynhaus f1cc7c2c46 Replace mocha + karma + chai with jest 2018-08-12 18:30:54 +03:00
Yossi Kolesnicov 4a4b6a7dbf Bug fix - didn't check for undefined when usigin parseDataSet. 2018-08-08 14:41:24 +03:00
Yossi Kolesnicov 54c4faffc3 Adding npm ignore for .tgz files, to avoid publishing by mistake npm pack results. 2018-08-07 16:34:18 +03:00
Yossi Kolesnicov 2e8b2a0a2f Added documentation for ApiCallBackendConfig. 2018-08-07 16:30:54 +03:00
Yossi Kolesnicov 4c4be1d5e9
Merge pull request #3 from Microsoft/entity/config/parse_data_set
Entity/config/parse data set
2018-08-06 16:10:25 +03:00
Yossi Kolesnicov 99fabc5f3d Changed version to 1.1.1. 2018-08-06 16:08:52 +03:00
Yossi Kolesnicov c121b0b536 Bumped version 2018-08-06 15:33:27 +03:00
Yossi Kolesnicov cde2cca24c Added parseDataSet to entity configuration 2018-08-06 15:28:49 +03:00
Yossi Kolesnicov e7f7f5a34a Added parseDataSet to entity configuration 2018-08-06 15:26:46 +03:00
Yossi Kolesnicov dd4f567d3c Using lodash-es instead of lodash modules 2018-07-29 08:06:38 +03:00
Yossi Kolesnicov 9aebf351b0 Improved scripts for publishing. 2018-07-26 23:44:28 +03:00
Yossi Kolesnicov 204ed12d8c Fixed some problems with packaging 2018-07-26 23:40:24 +03:00
Yossi Kolesnicov 757e1f1c31 Fixed tests 2018-07-26 23:13:42 +03:00
Yossi Kolesnicov 504b09ad10 removed logo from readme.md 2018-07-26 22:46:35 +03:00
Shai Rose 9097fbc16d bump version (patch) 2018-07-26 12:35:25 +03:00
Shai Rose f22ac6021d minor style update to readme 2018-07-26 12:20:40 +03:00
Shai Rose 78da34b1b8 bump version number to 1.0.1. updated docs. 2018-07-26 12:16:47 +03:00
Shai Rose 5f902304ad updated npmignore 2018-07-26 12:08:04 +03:00
Shai Rose b89bb8fd7a minor fixes 2018-07-26 12:05:57 +03:00
Shai Rose 7119f33085 updated installation texts 2018-07-26 11:42:54 +03:00
Shai Rose 9defdb3976 Merge remote-tracking branch 'github/master' into github_master 2018-07-26 10:00:25 +03:00
Shai Rose f1d644e036 added some comments 2018-07-26 09:47:25 +03:00
omermizr d67aa55115
Feature/expand unittests
added tests
2018-07-26 09:33:46 +03:00
Shai Rose 18be2266b4 added some comments + fixed install package name 2018-07-26 09:27:52 +03:00