-
Notifications
You must be signed in to change notification settings - Fork 405
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
[Post LWC v6] Add friendly error message when ElementInternals is not available due to lower API version #3929
Comments
Error while creating work item. No valid build found in GUS! |
This issue has been linked to a new work item: W-14915388 |
Based on @nolanlawson's comment, we should consider defaulting the We should also log a dev warning to let the component author know the issue. One thing to note is that we apply If it's possible to switch the This might not be a real issue but we might want to do some testing to verify. |
* refactor: organize API versioning tests (#4040) * fix: disable form association entirely on older API versions (#4041) Fixes #3929 * Revert "fix(synthetic-shadow): retargeting does not correctly account for nat…" (#4047) This reverts commit 13cd45f. * chore: routine dependencies update (#4046) * chore: routine dependencies update * fix: revert prettier updates * chore: update husky * chore: update husky * fix: disable ts rule * chore: v6.3.2 (#4048) --------- Co-authored-by: Nolan Lawson <[email protected]> Co-authored-by: Eugene Kashida <[email protected]>
To use ElementInternals, you'll need to be on the latest API version. We should have a friendly error message like "You cannot use
static formAssociated
orattachInternals
because yourapiVersion
is X and it should be at least Y."Related: #3904
The text was updated successfully, but these errors were encountered: