|
|
|
|
|
by 101011
479 days ago
|
|
This ended up being the preferred pattern we moved into. If, like us, you were passing the object between two applications, the owning API would serialize the enum value as a String value, then we had a client helper method that would parse the string value into an Optional enum value. If the original service started transferring a new String object between services, it wouldn't break any downstream clients, because the clients would just end up with Optional empty |
|