Ok, now I'm pretty sure I don't understand the problem.
Why do you have to change the API when you only want to map enums to strings
in the client?
-----Ursprüngliche Nachricht-----
From: Jonathan Kanarek
Sent: Sunday, April 19, 2015 5:46 PM
To: [email protected]
Subject: RE: String enums
I want to keep the server side as is and implement only client libraries.
If no one have a better idea, I guess I'll have to implement changes on the
server side as well.
T.
-----Original Message-----
From: Jens Geyer [mailto:[email protected]]
Sent: Sunday, April 19, 2015 6:22 PM
To: [email protected]
Subject: Re: String enums
How would you implement it without generating translation map?
That was my first thought, to be honest. What speaks against it? Or maybe I
just don't understand the problem right.
-----Ursprüngliche Nachricht-----
From: Jonathan Kanarek
Sent: Sunday, April 19, 2015 4:57 PM
To: [email protected]
Subject: String enums
Hi,
I want to expose existing server which currently supports enums that their
values are strings.
How would you implement it without generating translation map?
T.