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

Added migration strategy for services (ember-app) #5

Merged
merged 4 commits into from Jul 23, 2022

Conversation

ijlee2
Copy link
Owner

@ijlee2 ijlee2 commented Jul 23, 2022

Description

Closes #3. migrateEmberApp() can now find services that are placed in a pod directory and move them to app/services.

In a production app (with many addons and engines), I found only one example of a service that had been placed in a custom directory. To reduce the scope of work and future maintenance, I didn't add a migration strategy for addons and engines.

@ijlee2 ijlee2 added the enhance: code Issue asks for new feature or refactor label Jul 23, 2022
Comment on lines +360 to +363
services: {
'config.js': '',
'experiments.js': '',
},
Copy link
Owner Author

Choose a reason for hiding this comment

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

@ijlee2 ijlee2 merged commit bca9a0b into main Jul 23, 2022
@ijlee2 ijlee2 deleted the add-migration-strategy-for-services branch July 23, 2022 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhance: code Issue asks for new feature or refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Account for services
1 participant