A lot of design changes in this MR:
Collection
has been removed. It was duplicating the oldDocument
.- Document' has been renamed to 'Model'. A
Document
representing the raw type stored in base, theModel
, the mapped object. - Object.assign
has been replaced by a mapping to the
Document` to allow for property decoration. - Query is now idempotent. If the
Query
has been resolved, it will still return the sameQueryResponse
held in memory. This was necessary to solve problems with theMapOne
andMapMany
relationships that returnQuery
objects to theget
. Without idempotency, it would be necessary to add an interface betweenQuery
and the relations, to keep the result of the first resolution somewhere else in memory.
- Add Mapping, on properties and on relationships
- Add update/replace/delete methods
- Add Index methods
- Many Fixes on type resolution
v0.0.4 (2022-09-08)
v0.0.3 (2022-08-29)
v0.0.2 (2022-08-29)
- option url is not longer working