You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running the linter with (lots) of AsyncAPI files, containing many events and schemas, the linter fails with:
...
Linting /builds/tedp/event-registry/events/events/reservation/programme-change/programme-change.yml
Error running Spectral!
Error #1: Maximum call stack size exceeded
at isFrozen
at d ../../../../snapshot/project/node_modules/immer/src/utils/plugins.ts:55 return plugin
at P ../../../../snapshot/project/node_modules/immer/src/core/finalize.ts:155 function maybeFreeze(scope: ImmerScope, value: any, deep = false) {
at ../../../../snapshot/project/node_modules/immer/src/core/finalize.ts:105 rootScope.inversePatches_!
at ../../../../snapshot/project/node_modules/immer/src/utils/common.ts:96 obj.forEach((entry: any, index: any) => iter(index, entry, obj))
Describe the bug
When running the linter with (lots) of AsyncAPI files, containing many events and schemas, the linter fails with:
To Reproduce
Expected behavior
No error :-)
Additional context
As a workaround, we use
The text was updated successfully, but these errors were encountered: