You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When handling a PipeDrive response with a TimeRange Custom Field.
The function CustomFieldConverter.ReadJson() throws an exception since it tries to parse an time span represented as an string as an integer.
To Reproduce
Steps to reproduce the behavior:
Add a custom TimeRange field to your deal.
Create a deal.
Mutate/edit/update the deal using PipedriveApiClient.Deal.Edit(), while making sure to set the custom TimeRange field you just created.
Wait for the response to be recieved/parsed.
Error while deserializing.
Expected behavior
I expected pipedrive-dotnet to parse this as an timespan not an integer.
Screenshots
Version Info 0.5.18 from NuGet.
The text was updated successfully, but these errors were encountered:
Describe the bug
When handling a PipeDrive response with a
TimeRange
Custom Field.The function
CustomFieldConverter.ReadJson()
throws an exception since it tries to parse an time span represented as an string as an integer.To Reproduce
Steps to reproduce the behavior:
PipedriveApiClient.Deal.Edit()
, while making sure to set the custom TimeRange field you just created.Expected behavior
I expected
pipedrive-dotnet
to parse this as an timespan not an integer.Screenshots
Version Info
0.5.18
from NuGet.The text was updated successfully, but these errors were encountered: