-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Apollo extension support #267
Comments
@guybedford I have reproduced the problem in a new Rails 7 application. Here's the repo (a new rails 7 app with a scaffold_controller page), with a link to the commit that adds Here's the error in the console, where you can see it's still getting an error even with the shim script line included: I may be using the shim wrong, if so please let me know what's the correct way. Thanks, |
@guybedford Also, I just realized that the |
@thewoolleyman thanks for the update - so ES Module Shims won't fix the error, instead it will execute the code so that the error is corrected. This is what that last comment is trying to inform about. So the replication should include a test that the code is running, not be based on these error messages which are certainly expected. Is the code definitely not working? |
I mean the last console log in the screenshot, not the last "comment" in the above. |
Closing since as far as I can tell from the screenshot ES Module Shims is working correctly and running in polyfill mode. |
Reopening this one due to a comment by thewoolleyman.
I posted what should have been a fix in #201 that should have resolved the issue where an early module load by an extension blocks import maps. Apparently this doesn't seem to be applying in some cases so it would be worth reinvestigating.
@thewoolleyman if you have a replication you can share on this / any further info that would still be a huge help.
The text was updated successfully, but these errors were encountered: