Closed kevbite closed 6 years ago
Hi Kev, any update on the above, i was going to try catch this particular error and handle it and set company status to none in this instance, however the error is thrown in the json de-serialization so cannot grab it unfortunately
Quick update, i just cloned a copy of the code and fixed this by updating the following in Company.cs file:
from: public CompanyStatus CompanyStatus { get; set; }
to: public CompanyStatus? CompanyStatus { get; set; }
OK I've fixed it another way so we don't have breaking changes in the Libary API. I'll push it in a moment.
was contemplating doing that but by default if its null it seems to set it to None anyway with the change i made :)
Should be all fixed now in version 4.0.3
Please check it out, and if you have any other problems just raise another issue.
Thanks.
will do cheers
We seem to be getting
null
back for some companies within a search, we need to be able to deal with receiving anull
value