Skip to content

A few features request #1

@microknights

Description

@microknights

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.

  1. A CreateOrUpdate without email as parameter. My contacts have not supplied email at creation point, that will come later on with an Update.

  2. Add a HubSpotOptions, on Hubspot constructor, with a property saying IgnorePropertiesWithNullValues' as boolean. This means that CreateandUpdate` 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.

  3. Add an extension class with .AddHubspot(<apikey>,<hubspotOptions>) to use DI through IServiceCollection. Hubspot, ContactApi and all other *Api will be added.

If needed we can create an Issue for those bullets that needs further discussion.

Cheers, Frank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions