Skip to content

Rest controller #16

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

Open
wants to merge 2 commits into
base: rest-controller
Choose a base branch
from

Conversation

GrimReaper73
Copy link

Added vendor and moved the URL setting from the service implementation
into the mapper. This allows a single place for the URL to be set, thus
simplifying the service implementation. In my point of view, the setting
of the URL is more a mappers function than the service. Hopefully you
agree.

springframeworkguru and others added 2 commits May 1, 2022 10:02
into the mapper. This allows a single place for the URL to be set, thus
simplifying the service implementation. In my point of view, the setting
of the URL is more a mappers function than the service. Hopefully you
agree.
@GrimReaper73
Copy link
Author

Forgot to mention, it also allows you to test the URL value. See guru.springfamework.api.v1.mapper.VendorMapperTest

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.

2 participants