HubSpot.NET
HubSpot.NET copied to clipboard
IHubspotContactAPI no longer allows for inherited object types to be sent to HS.
Describe the bug The master release file has breaking changes from the most recent published "release", ie: v0.6.17. Specifically, the IHubSpotContactApi used to allow passing inherited object types as generic T types. Look at line #14 specifically,
T GetByEmail<T>(string email) where T : ContactHubSpotModel;
versus
T GetByEmail(string email);
Now if we create our own contact type inherited from IHubSpotContactApi, we can no longer send the contact for Get/Add/Edits.
Was this intentional? And is there a work around currently?