-
Notifications
You must be signed in to change notification settings - Fork 190
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
Skip checking the source for synthetic attributes to prevent warning. #1431
Open
navels
wants to merge
1
commit into
glimmerjs:main
Choose a base branch
from
navels:synthetic-attributes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backspace
added a commit
to cardstack/boxel
that referenced
this pull request
Jun 15, 2023
This is a patch to approximate this PR: glimmerjs/glimmer-vm#1431
backspace
added a commit
to cardstack/boxel
that referenced
this pull request
Jun 15, 2023
This is a patch to approximate this PR: glimmerjs/glimmer-vm#1431
I've been helping a client with some upgrades recently and found this message went away once the app was upgraded to 5.12. Probably can close now? You can see that other folks handled this by patching temporarily using |
Might want to leave this open based on this comment: #1430 (comment) |
@navels thanks, will do |
chancancode
added a commit
that referenced
this pull request
Feb 21, 2025
Re-apply #1430 with a more robust implementation and tests Also turns the warning into a `localAssert()` so it gets stripped before reaching downstream consumers. This relates to #1431 in that this removes the warning, so to the extent that #1431 was motivated by sliencing the warning in Ember builds, it avoids the issue. But I haven't investigated the root cause of that issue and whether it is indicative of an actual bug somewhere deeper. Fixes emberjs/ember.js#19392 Co-authored-by: Lee Nave <[email protected]>
chancancode
added a commit
that referenced
this pull request
Feb 21, 2025
Re-apply #1430 with a more robust implementation and tests Also turns the warning into a `localAssert()` so it gets stripped before reaching downstream consumers. This relates to #1431 in that this removes the warning, so to the extent that #1431 was motivated by sliencing the warning in Ember builds, it avoids the issue. But I haven't investigated the root cause of that issue and whether it is indicative of an actual bug somewhere deeper. Fixes emberjs/ember.js#19392 Co-authored-by: Lee Nave <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes a warning caused when template parsing encounters a synthetic attribute (i.e., inserted by a plugin). For example, building the
ember-maybe-in-element
addon outputs these warnings:and the same will happen for any app that uses the
ember-basic-dropdown
addon (which uses the above addon).These should fix the remaining causes of emberjs/ember.js#19392 that are not already fixed by #1430.
I tried to add a test that would be even vaguely useful and couldn't really come up with anything.