panoramicdata / ServiceNow.Api

ServiceNow REST API nuget package
MIT License
21 stars 18 forks source link

ResourceLinkConverter missing #11

Open dylan-asos opened 2 years ago

dylan-asos commented 2 years ago

When creating a record that contains a reference to a ResourceLink type, data isn't being serialized correctly.

In ResourceLink, it mentions that ToString is called by ResourceLinkConverter

https://github.com/panoramicdata/ServiceNow.Api/blob/580869b519d4a579a8de9aa8dda0f3dea0207148/ServiceNow.Api/Tables/ResourceLink.cs#L14

...but this type isn't in the solution and data is being serialized like

business_service { value == "the-id" }

and is therefore not created correctly in ServiceNow. Simple fix to add the converter - unless I'm missing something?