I'm working with microservices, and I see an issue.
There are two services, that transfer info between each other via jsons. Because of this, we have to store our enums in strings, and serialise-deserialise them while passing. The problem is - both services have to have copies of enums, to be able to translate those strings, and if one doesn't - there is a failure. We wrapped it up, so we don't get 500s, but the info, we could not deserialise, is just not displayed. I'm not sure though, maybe there is a better approach to it, where we don't have to keep in mind, where we have to update our enums, if the one is changed, and still have everything fully functional.
I'm really struggling with this. Microservices are to be isolated, and to be able to change freely, without affecting each other