Christian
08/07/2021, 9:36 AMUser: {name: "potter", street: "hogwards-street", type: "cleaner"}
I publish these to my message broker and consumed it in an another service (B). Now the service (B) only needs {name: String, type: String}
. Should I still share the full model of User
as interface between the services or are these other types of User
models?Christian
08/07/2021, 9:45 AMAUserModel
and BUserMode
cdpjenkins
08/07/2021, 12:43 PMChristian
08/07/2021, 12:48 PMcdpjenkins
08/07/2021, 12:48 PMChristian
08/07/2021, 1:40 PMcdpjenkins
08/07/2021, 4:14 PM