We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d3704 commit 8b8f31fCopy full SHA for 8b8f31f
packages/cubejs-schema-compiler/src/compiler/CubeValidator.ts
@@ -883,7 +883,11 @@ export class CubeValidator {
883
}
884
885
public validate(cube, errorReporter: ErrorReporter) {
886
- const result = cube.isView ? viewSchema.validate(cube) : cubeSchema.validate(cube);
+ const options = {
887
+ nonEnumerables: true,
888
+ abortEarly: false, // This will allow all errors to be reported, not just the first one
889
+ };
890
+ const result = cube.isView ? viewSchema.validate(cube, options) : cubeSchema.validate(cube, options);
891
892
if (result.error != null) {
893
errorReporter.error(formatErrorMessage(result.error), result.error);
0 commit comments