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

Remove require usage, dropping support for automatic ember-data/setup-container inclusion #1472

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

NullVoxPopuli
Copy link
Collaborator

Extracted from: #1471

@NullVoxPopuli NullVoxPopuli mentioned this pull request Jul 30, 2024
5 tasks
@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review July 30, 2024 13:31
// Additionally, this file is deprecated with no replacement for
// removal in ember-data v6.0
// See: ember-data/dist/setup-container
if (macroCondition(dependencySatisfies('ember-data', '< 6.0'))) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@runspired what happens with setup-container after v6? is it something that folks just need to configure manually?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hasn't been needed for some time / since late 1.x

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing thank you

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, i wonder if we should just drop this code, and do a major of test-helpers, bundled with the v2 addon conversion

@NullVoxPopuli NullVoxPopuli changed the title Remove require usage in favor of @embroider/macros Remove require usage, dropping support for automatic ember-data/setup-container inclusion Aug 19, 2024
@NullVoxPopuli NullVoxPopuli merged commit 02bfb07 into master Aug 19, 2024
25 checks passed
@NullVoxPopuli NullVoxPopuli deleted the dont-use-require branch August 19, 2024 20:39
@github-actions github-actions bot mentioned this pull request Aug 19, 2024
@NullVoxPopuli
Copy link
Collaborator Author

Resolved #1433

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants