Client Model out of date
Opened this issue · 4 comments
I received a value in a business user's business type field of "PRIVATE_COMPANY" which is not supported in the client model's enum. This causes an exception. I've fixed it on my side, however a system wide model enumeration review on your side is probably warranted.
Best,
mike
@blockclin-mike Could you help understand it better telling us:
- what is the operation you are trying to perform?
- what is the field in the payload that is causing this issue?
In class HyperwalletUser -> enum BusinessType
you have : {CORPORATION, PARTNERSHIP}
I added : {CORPORATION, PARTNERSHIP, PRIVATE_COMPANY}
"PRIVATE_COMPANY" is coming back from the server.
My larger concern is I'm not sure how many other enums are strewn throughout the client wrapper which have missing values. Is there a server-to-client sync performed periodically, or is this wrapper truly as-is?
@blockclin-mike Thanks for the information. I'm gonna get this answer to you asap.