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
Also, testing the code with jest I get:
detail: RangeError: Maximum call stack size exceeded
at comparator (/home/rgciocan/WORK/dev/sources/marketplace-web/node_modules/fast-equals/src/comparator.ts:76:29)
at Object.equals (/home/rgciocan/WORK/dev/sources/marketplace-web/node_modules/fast-equals/src/comparator.ts:307:12)
at isPropertyEqual (/home/rgciocan/WORK/dev/sources/marketplace-web/node_modules/fast-equals/src/equals.ts:349:11)
at areObjectsEqual (/home/rgciocan/WORK/dev/sources/marketplace-web/node_modules/fast-equals/src/equals.ts:158:10)
at comparator (/home/rgciocan/WORK/dev/sources/marketplace-web/node_modules/fast-equals/src/comparator.ts:194:9)
Prerequisites
What theme are you using?
validator-ajv8
Version
5.24.2
Current Behavior
Using custom validation examples from the documentation, when rendering the schema I get the browser console error:
Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
at areObjectsEqual (http://localhost:3000/bundle.js:550581:25)
at comparator (http://localhost:3000/bundle.js:550840:17)
at Object.equals (http://localhost:3000/bundle.js:550928:16)
at areArraysEqual (http://localhost:3000/bundle.js:550500:20)
at comparator (http://localhost:3000/bundle.js:550793:20)
at Object.equals (http://localhost:3000/bundle.js:550928:16)
at isPropertyEqual (http://localhost:3000/bundle.js:550718:15)
at areObjectsEqual (http://localhost:3000/bundle.js:550592:14)
at comparator (http://localhost:3000/bundle.js:550840:17)
at Object.equals (http://localhost:3000/bundle.js:550928:16)
Also, testing the code with jest I get:
detail: RangeError: Maximum call stack size exceeded
at comparator (/home/rgciocan/WORK/dev/sources/marketplace-web/node_modules/fast-equals/src/comparator.ts:76:29)
at Object.equals (/home/rgciocan/WORK/dev/sources/marketplace-web/node_modules/fast-equals/src/comparator.ts:307:12)
at isPropertyEqual (/home/rgciocan/WORK/dev/sources/marketplace-web/node_modules/fast-equals/src/equals.ts:349:11)
at areObjectsEqual (/home/rgciocan/WORK/dev/sources/marketplace-web/node_modules/fast-equals/src/equals.ts:158:10)
at comparator (/home/rgciocan/WORK/dev/sources/marketplace-web/node_modules/fast-equals/src/comparator.ts:194:9)
This is one of the examples I've used:
When I use a standard validator, rendering of the schema works fine.
Expected Behavior
Schema should render fine.
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: