I have a client that returns and sends data to a server. Currently the data that it returns is only composed of types in the Core Library (Foundation).
It would be helpful if the client sent back data already converted to my Model classes.
Is it a bad idea to couple my Model with my Client ? I was thinking of doing this in an extension this way it's separated from the main client implementation.
I do want to note that I thought about moving this into a helper class but I think it would be confusing to move a client method call into another class.
For example: Helper.getDataFromServer
Ideally we would want: Client.getDataFromServer