Skip to content

Conversation

@douradofrazer
Copy link
Contributor

@douradofrazer douradofrazer self-assigned this May 10, 2023
@douradofrazer douradofrazer force-pushed the location-change-475 branch from 0ae9954 to 30d2240 Compare May 10, 2023 10:44
loc =
FacilityLocationTO.builder()
.locationName(location.locationName())
.locationType(LocationType.FACI)
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 use the locationType to switch on? The purpose of the locationType is to be used as a discriminator..

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