-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I have done a few tests with the ContactApi and it worked like a charm :)
To succeed my goal i have a few features i would like to add, but i thought that i would clear it with you before pushing PR's.
-
A
CreateOrUpdatewithout email as parameter. My contacts have not supplied email at creation point, that will come later on with anUpdate. -
Add a
HubSpotOptions, onHubspotconstructor, with a property sayingIgnorePropertiesWithNullValues' as boolean. This means thatCreateandUpdate` will only send those property values that is not null. This prevents sending empty values, and when updating prevent override a property with an empty value. -
Add an extension class with
.AddHubspot(<apikey>,<hubspotOptions>)to use DI through IServiceCollection.Hubspot,ContactApiand all other *Api will be added.
If needed we can create an Issue for those bullets that needs further discussion.
Cheers, Frank