Skip to content

Sire primary breed in insemination#587

Merged
cookeac merged 3 commits intoDevelopfrom
sirePrimaryBreed-in-insemination
Mar 19, 2026
Merged

Sire primary breed in insemination#587
cookeac merged 3 commits intoDevelopfrom
sirePrimaryBreed-in-insemination

Conversation

@AndreasSchultzGEA
Copy link
Collaborator

No description provided.

added the breed-information, usable for a single sire.
added the breed-information, usable for a single sire.
added the breed-information, usable for a single sire.
@AlexeyHardCode
Copy link
Collaborator

@AndreasSchultzGEA overall looks very good. One suggestion I would like like to propose.
These three schemas contain a clearly duplicated set of sire-related properties: sireIdentifiers, sireOfficialName, sireURI, sirePrimaryBreed. Extracting them into a shared reusable schema icarReproSireInfoResource reduces duplication and provides a single point of maintenance. This refactoring is not a breaking change and does not impact ADE version upgrades, as it preserves the existing data model while only reorganizing the schema structure.
@cookeac @erwinspeybroeck do you also agree? I can quickly refactor these three resources and upload a new version for you to check.

The same three properties (excluding sirePrimaryBreed) are also present in icaSireRecommendationType within icarReproMatingRecommendationResource.
Would it be appropriate to include sirePrimaryBreed in icaSireRecommendationType as well?

@cookeac
Copy link
Collaborator

cookeac commented Feb 9, 2026

One suggestion I would like like to propose. These three schemas contain a clearly duplicated set of sire-related properties: sireIdentifiers, sireOfficialName, sireURI, sirePrimaryBreed. Extracting them into a shared reusable schema icarReproSireInfoResource reduces duplication and provides a single point of maintenance. This refactoring is not a breaking change and does not impact ADE version upgrades, as it preserves the existing data model while only reorganizing the schema structure. @cookeac @erwinspeybroeck do you also agree? I can quickly refactor these three resources and upload a new version for you to check.

The same three properties (excluding sirePrimaryBreed) are also present in icaSireRecommendationType within icarReproMatingRecommendationResource. Would it be appropriate to include sirePrimaryBreed in icaSireRecommendationType as well?

@AlexeyHardCode I had wondered about the duplication as well and I think you have come up with a good solution. We should check that it does not affect code generation, but I am very happy with that approach, and would apply it to icarSireRecommendationType as well.

@erwinspeybroeck
Copy link
Collaborator

Good idea to do so. I agree with both of you ;-)

@cookeac cookeac merged commit 7eda641 into Develop Mar 19, 2026
2 checks passed
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.

4 participants