-
Notifications
You must be signed in to change notification settings - Fork 876
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
Refactoring aggregates #125
Labels
Comments
This was referenced Nov 26, 2023
arey
added a commit
to arey/spring-petclinic-rest
that referenced
this issue
Dec 31, 2023
Hi @dnokov To add a pet to an owner, we could now use the pet
|
arey
added a commit
that referenced
this issue
Jul 28, 2024
Remove the readOnly property to PetType #125
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is related to the conversation from the pull request #123 and the 2 issues #122 and #103
To fix the issues without changing the API specification, we temporary had the operations
findSpecialtiesByName
andfindPetTypeByName
.Vet
,Specialty
(and maybePetType
) are different aggregates and should probably be linked by their ids for writing operations. A better solution should be to change the OpenAPI interface (and the Angular client). We could imagine that for reading operation, in addition to their id, the name property of aggregates is returned to consumers.The text was updated successfully, but these errors were encountered: