-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
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
{{ensure-safe-component}}
not working with template tags
#1382
Comments
Why use I mean, it def should work, but if you need to be unblocked for now, i wouldn't say you need it. Since Field component is just an assignment You could?:
Though, maybe i'm missing something? |
This was needed to fix the linting issue you also saw in your PR, due to the yielded component having a generic type (the But |
🙃 |
Attempt at test here: #1383 |
I can confirm #1383 successfully fixes this! 🎉 |
We have an interoperability issue here:
resolver-transform
checks for the existenceensure-safe-component
helper by a simple string comparison, allowing for the helper to be used only when having exactly that dasherized nameReproduction in this PR: https://github.com/CrowdStrike/ember-headless-form/pull/84/files#diff-e61a0d763a79e50ad7c8eb97240e695edaacc3dde08a2f7669013a45a544f709R527.
Works fine in classic, but Embroider fails with
Unsafe dynamic component: cannot statically analyse this expression
as it does not recognise the camelcased reference.The text was updated successfully, but these errors were encountered: