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

314 Коммитов

Автор SHA1 Сообщение Дата
microsoft-github-policy-service[bot] 28054de38e
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-06-12 20:27:15 +00:00
microsoft-github-policy-service[bot] 8df74b4893
Microsoft mandatory file 2023-06-02 19:51:50 +00:00
Nitsan Amit 5ce0581b21
Undo buggy bug fix + bump version (#53)
* Undo buggy bug fix + bump version

* Fix tests

Co-authored-by: Nitsan Amit <nitsanamit@microsoft.com>
2022-07-18 14:12:51 +03:00
Nitsan Amit ada6a3dc47
Merge pull request #49 from microsoft/fix-array-of-when-passing-type
Fix isArray status when passing `type`
2022-07-18 13:34:17 +03:00
Shai Rose f18f38af68
Merge pull request #52 from microsoft/feature/ignoreCase
Add option to ignore fields' casing
2022-07-17 14:00:09 +03:00
Nitsan Amit f694cd045f Fix test name 2022-07-17 13:42:23 +03:00
Nitsan Amit 321ece1bd1 Fix test name 2022-07-17 08:40:59 +03:00
Nitsan Amit 1b047fe4a0 Bump minor version 2022-07-15 12:06:14 +03:00
Nitsan Amit f7f353c78b Add option to ignore fields' casing 2022-07-15 11:42:14 +03:00
Benjamin Gruenbaum 158a60616b
Update README.md 2021-08-29 11:33:41 +03:00
Benjamin Gruenbaum b48ebb4113
Merge pull request #51 from microsoft/benjamingr-patch-1
Mark library as unmaintained.
2021-08-26 08:21:11 +03:00
Benjamin Gruenbaum 5fa03c9c20
Update README.md 2021-08-25 15:18:31 +03:00
Benjamin Gruenbaum faf77efa84
Fix isArray status when passing `type`
when not using Reflect.getMetadata isArray is not populated correctly at the moment.
2021-04-25 19:53:32 +03:00
Shai Rose 2f251a8fb6
Merge pull request #48 from microsoft/ts-3.1
Unbreak build - ts 3.1
2021-04-21 12:01:42 +03:00
Benjamin Gruenbaum fd5dd9e9bf ts 3.1 2021-04-21 11:59:49 +03:00
Benjamin Gruenbaum 8dccf9950e
Merge pull request #47 from microsoft/allow-manually-specifying-entity-type
allow manually specifying type
2021-04-21 11:29:28 +03:00
Benjamin Gruenbaum ceafc4e393 allow manually specifying type 2021-04-21 11:19:44 +03:00
omermizr 3133b0d009
fixed a bug where entities that had more than one level of inheritanc… (#43)
* fixed a bug where entities that had more than one level of inheritance had missing fields

* version bump
2020-09-08 15:02:47 +03:00
Maor Frankel 628c8f0b9e
Merge pull request #42 from microsoft/bug/broken-relationships
fixed a bug where relationships were broken if class names were mangled
2020-04-20 16:24:14 +03:00
ommizrah 229119205a bug fix 2020-04-20 09:08:56 +03:00
ommizrah b2071a4d12 version bump 2020-04-19 22:45:56 +03:00
ommizrah fdba18e990 fixed a bug where relationships were broken if class names were mangled 2020-04-19 22:44:07 +03:00
omermizr a4fd2ed643
version bump 1.10.1 (#41) 2020-04-19 14:09:09 +03:00
omermizr 1c9d45d236
fixed a bug where 'getItemById' wouldn't use 'parseItem' (#39)
* fixed a bug where 'getItemById' wouldn't use 'parseItem'

* added missing params

* added tests
2020-04-19 14:06:20 +03:00
omermizr 4e1b28159c
version bump 1.10.0 (#40) 2020-04-16 20:28:32 +03:00
dependabot[bot] 6167a00de8
Bump lodash-es from 4.17.10 to 4.17.15 (#35)
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.10 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-16 18:42:33 +03:00
omermizr b209429553
fixed a bug where relationship repositories' cache key wasn't always unique (#36) 2020-04-16 18:42:13 +03:00
omermizr 9869fff125
added DataQuery to 'modelWith' (#38)
* added DataQuery to 'modelWith'

* added ability to use strings in 'modelWith'
2020-04-16 18:41:42 +03:00
Maor Frankel ef93d9c0e2
Merge pull request #34 from microsoft/clear_allItemsBeingSet$
clear _allItemsBeingSet$ when query is complete to avoid persistent q…
2020-03-19 21:26:35 +02:00
maorfrankel b7d41407fb clear _allItemsBeingSet$ when query is complete to avoid persistent query calls 2020-03-19 17:17:17 +02:00
omermizr 0c6dc525fe
fixed a bug where entities with loadAll would stop working if destination unsubscribes/errors before completion (#32) 2020-01-05 17:03:04 +02:00
Maor Frankel af71cd8c0e
Merge pull request #30 from microsoft/http-interceptor
add intercept options for AjaxRequest
2019-10-16 15:32:04 +03:00
maorfrankel cbc8abbb2a re trigger tests 2019-10-16 15:23:16 +03:00
maorfrankel 226bc7bf63 bring back tests 2019-10-16 15:14:56 +03:00
maorfrankel dca1791684 remove unit test 2019-10-16 15:13:11 +03:00
maorfrankel a993b7c34a fix tests 2019-10-16 15:04:47 +03:00
maorfrankel 3f4b76ce8e fix tests 2019-10-16 14:54:39 +03:00
maorfrankel 6bf3a154c7 add intercept options for AjaxRequest 2019-10-16 14:41:10 +03:00
Shai Rose a08c24ad14 fix (api call): timeout from config should be passed as part of requestOptions (#29)
* fix (api call): timeout from config should be passed as part of requestOptions
2019-10-03 09:37:18 +03:00
Aaron Greenwald 4e8cde0f9f
fix|api call|timeout from config should be passed as part of httpOptions (#28)
* fix|api call|timeout from config should be passed as part of httpOptions
2019-09-16 14:22:21 +03:00
Aaron Greenwald 01d705357c upgrade gulp version 2019-07-25 12:04:57 +03:00
Aaron Greenwald d40e42a7e1
revert breaking changes in 8e9213b, 5225d63 (#27)
these commits accidentally introduce a breaking
change - if you manually set a field in a model
that is a subclass of another model, that field
gets overwritten (typically with null) on model
creation.

Example: `CatModel` and `DogModel` both extend
`AnimalModel` and set the `family` property to
`'canine'` and `'feline'` respectively.

When either `CatModel` or `DogModel` are created,
the `family` field will be overwritten when
the modeldata (which doesn't have a family value)
is copied to the model.
2019-07-25 11:14:37 +03:00
Maor Frankel 6a8f256c4a
Merge pull request #26 from microsoft/reset-config
Add API method to set and reset config
2019-07-16 09:54:46 +03:00
maorfrankel 48c6c9b648 rebuild docs 2019-07-16 09:22:11 +03:00
maorfrankel 87d6e18537 align with PR comments, changed to setConfig and reset config back to default 2019-07-16 09:07:00 +03:00
maorfrankel 28ce564637 fix indentation 2019-07-14 16:13:39 +03:00
maorfrankel 123628f844 Add API method to clear and reset config 2019-07-14 14:11:48 +03:00
Aaron Greenwald a58ff49af9 bump version 2019-06-27 09:46:31 +03:00
Aaron Greenwald 9915805fff
fix(default values)|deep clone defaults before setting the model (#25)
* fix(default values)|deep clone defaults before setting the model

so that modifying the model doesn't modify future created models

* add circle-ci config
2019-06-26 18:44:30 +03:00
Yossi Kolesnicov 33e53ed04d
Bug/separate array params query (#23)
* Assigning a model's data in the modeler rather than in the constructor, to make the modeler work properly with Babel, which doesn't call the parent's constructor of a class.

* Assign data in submodels in modeler, for Babel.

* Bugfix: separateArrayParams wasn't being used properly in queries.

* Set version to 1.6.0.

* Fixed test.
2019-05-03 17:39:42 +03:00