We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hermes will not support with operator which used in json-schema expression compiler . hermes language feature excluded from support
with
json-schema
replace compiler with operator like this
const Registry = { silent: false, compile(expression: string, scope = {}) { // insert $root before expression vars expression = expression.replaceAll(/(\$\w+)/g, '$root.$1'); if (Registry.silent) { try { return new Function('$root', ` return (${expression}); `)( scope ) } catch {} } else { return new Function('$root', `return (${expression}); `)( scope ) } }, }
another change should be the custom scope,
The text was updated successfully, but these errors were encountered:
希望赶快修复吧,我们也是有这个问题
Sorry, something went wrong.
同上,升级rn到 0.70后默认开启Hermes引擎,不再支持【with】操作符,导致formily无法工作
Successfully merging a pull request may close this issue.
What problem does this feature solve?
hermes will not support
with
operator which used injson-schema
expression compiler .hermes language feature excluded from support
What does the proposed API look like?
replace compiler
with
operator like thisanother change should be the custom scope,
The text was updated successfully, but these errors were encountered: