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

chore: split interfaces for import and export #5004

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

gastonfournier
Copy link
Contributor

About the changes

This splits the interfaces for import and export, especially because the import functionality has to be replaced in enterprise repo.

This is a breaking change because of the service renames, but I'll have the PR for the other repository ready so we reduce the time to fix. I intentionally avoided doing it backward compatible because of time.

@vercel
Copy link

vercel bot commented Oct 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 12, 2023 7:45am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Visit Preview Oct 12, 2023 7:45am

Copy link
Contributor

@kwasniew kwasniew left a comment

Choose a reason for hiding this comment

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

One important comment inside

exportImportService: ExportImportService;
exportImportServiceV2: WithTransactional<ExportImportService>;
exportService: IExportService;
importService: WithTransactional<ExportImportService>;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not IExportService after you split them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe you mean, why not IImportService, right? Now, export doesn't have to be transactional and we can use the same and we only need import to be transactional

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me know if 6950fc1 is what you're expecting ;)

Copy link
Contributor

Choose a reason for hiding this comment

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

correct :)

@gastonfournier gastonfournier merged commit 7343183 into main Oct 12, 2023
9 checks passed
@gastonfournier gastonfournier deleted the split-import-export-interfaces branch October 12, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants