Compare commits

...

3 Commits

Author SHA1 Message Date
wulkanat@gmail.com
07b5ad1618 0.49.2 2021-08-17 18:15:11 +02:00
Wieland Schöbl
d56c3d11a8 refactor: move indexable test files to separate folder 2021-08-17 17:51:53 +02:00
wulkanat@gmail.com
83f00f40bf docs: update changelog 2021-08-13 11:04:27 +02:00
53 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +1,12 @@
## [0.49.1](https://gitlab.com/openstapps/core/compare/v0.49.0...v0.49.1) (2021-08-13)
### Bug Fixes
* documentation generation ([8a28d6f](https://gitlab.com/openstapps/core/commit/8a28d6fa8657d778d6ae0d38cda7da3531d6478c))
# [0.49.0](https://gitlab.com/openstapps/core/compare/v0.48.0...v0.49.0) (2021-08-12)

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/core",
"version": "0.49.1",
"version": "0.49.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/core",
"version": "0.49.1",
"version": "0.49.2",
"description": "StAppsCore - Generalized model of data",
"keywords": [
"Model",

View File

@@ -230,7 +230,7 @@ export class SchemaSpec {
fail(`'${thingName}'#'${property.name}' union type '${nestedType.type}' is not handled by this test!`);
}
}
}
};
for (const thingName of SchemaSpec.thingNames) {
const thingReflection = SchemaSpec.objects[`${thingName}`];
@@ -318,7 +318,10 @@ export class SchemaSpec {
@test
async 'validate against test files'() {
const errorsPerFile = await validateFiles(resolve('lib', 'schema'), resolve('test', 'resources'));
const errorsPerFile = {
...await validateFiles(resolve('lib', 'schema'), resolve('test', 'resources')),
...await validateFiles(resolve('lib', 'schema'), resolve('test', 'resources', 'indexable')),
};
let unexpected = false;
Object.keys(errorsPerFile).forEach((file) => {