Skip to content

move common models to specific packages #908

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

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

wboereboom
Copy link
Contributor

Description
Move all models that are shared between services to their respective packages

Tested scenarios
Tested through unit tests

Copy link
Contributor

@michaelpaul michaelpaul left a comment

Choose a reason for hiding this comment

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

I wonder if we should remove these shared models or embrace them via --import-mappings Amount=com.adyen.model.Amount.

@wboereboom
Copy link
Contributor Author

The thing is that if we ever start to autogenerate these library models we'll overwrite them anyway. so figured it was best to get rid of them now.

I think it's better to have duplicates than to deal with the added complexity of shared models between APIs.

@wboereboom wboereboom merged commit 311eea7 into develop Dec 23, 2022
@wboereboom wboereboom deleted the PW-7193/move_common_models branch December 23, 2022 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants