kevbite / CompaniesHouse.NET

A simple .NET client wrapper for CompaniesHouse API
MIT License
37 stars 44 forks source link

Error converting value "managing-officer" to type 'CompaniesHouse.Response.Officers.OfficerRole'. #197

Closed whitecobalt closed 1 year ago

whitecobalt commented 1 year ago

In the last 48 hours I have started receiving this error:

Error converting value "managing-officer" to type 'CompaniesHouse.Response.Officers.OfficerRole'. Path 'items[0].officer_role', line 1, position 741. (793ab109-e924-43e2-ae4c-37b07bd9297b)

It looks like CH has added a new type to that field and it is missing from the enum?

kevbite commented 1 year ago

@whitecobalt thanks for raising the issue, if you can fix it and raise a PR that'd be great. Otherwise it'll be late this weekend that'll I'll be able to update it.

kevbite commented 1 year ago

@whitecobalt a fix has been released for this issue and is in version 7.12.4