Skip to content
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

Deprecate opening a modal from string #894

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

BlueCutOfficial
Copy link
Contributor

This is step 1 to convert ember-promise-modals to a v2 addon.

In Embroider, it will no longer be possible to pass components by string, as explained in the Replacing Component Helper guide. Only passing a class will be allowed.

This PR deprecates the possibility of passing a component as string to the modal:

  • it implements and tests the deprecation
  • it deactivates the new test for embroider-optimized scenario because passing by string will no longer work at all in Embroider

@BlueCutOfficial BlueCutOfficial force-pushed the step-1-deprecate-modal-from-string branch 3 times, most recently from 9a3cbc1 to 3ac5819 Compare January 30, 2024 11:01
@BlueCutOfficial BlueCutOfficial force-pushed the step-1-deprecate-modal-from-string branch from 3ac5819 to 2fcc1e3 Compare January 31, 2024 08:01
@BlueCutOfficial BlueCutOfficial merged commit d1ec92a into main Jan 31, 2024
14 checks passed
@BlueCutOfficial BlueCutOfficial deleted the step-1-deprecate-modal-from-string branch January 31, 2024 09:55
@BlueCutOfficial BlueCutOfficial added the enhancement New feature or request label Feb 1, 2024
@BlueCutOfficial BlueCutOfficial changed the title Deprecate modal from string Deprecate opening a modal from string Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants