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 ad11e36 commit 0c83b0eCopy full SHA for 0c83b0e
packages/cubejs-schema-compiler/src/compiler/CubeValidator.ts
@@ -885,7 +885,11 @@ export class CubeValidator {
885
}
886
887
public validate(cube, errorReporter: ErrorReporter) {
888
- const result = cube.isView ? viewSchema.validate(cube) : cubeSchema.validate(cube);
+ const options = {
889
+ nonEnumerables: true,
890
+ abortEarly: false, // This will allow all errors to be reported, not just the first one
891
+ };
892
+ const result = cube.isView ? viewSchema.validate(cube, options) : cubeSchema.validate(cube, options);
893
894
if (result.error != null) {
895
errorReporter.error(formatErrorMessage(result.error), result.error);
0 commit comments