@travetto/model-query 3.1.1 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/support/test/query.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/model-query",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Datastore abstraction for advanced query support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datastore",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@travetto/di": "^3.1.1",
|
|
31
|
-
"@travetto/model": "^3.1.
|
|
31
|
+
"@travetto/model": "^3.1.2",
|
|
32
32
|
"@travetto/schema": "^3.1.1"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
package/support/test/query.ts
CHANGED
|
@@ -144,7 +144,7 @@ export abstract class ModelQuerySuite extends BaseModelSuite<ModelQuerySupport &
|
|
|
144
144
|
const service = await this.service;
|
|
145
145
|
|
|
146
146
|
const people = [1, 2, 3, 8].map(x => Person.from({
|
|
147
|
-
id: service.
|
|
147
|
+
id: service.idSource.create(),
|
|
148
148
|
name: 'Bob',
|
|
149
149
|
age: 20 + x,
|
|
150
150
|
gender: 'm',
|
|
@@ -217,7 +217,7 @@ export abstract class ModelQuerySuite extends BaseModelSuite<ModelQuerySupport &
|
|
|
217
217
|
async verifyNestedQuery() {
|
|
218
218
|
const service = await this.service;
|
|
219
219
|
|
|
220
|
-
const id = service.
|
|
220
|
+
const id = service.idSource.create();
|
|
221
221
|
|
|
222
222
|
await service.create(Note, Note.from({
|
|
223
223
|
id,
|