Closed bigen1925 closed 3 weeks ago
Hi there,
Thank you all for developing and maintaining this great library! It makes us joyful to use Hubspot. :D
I feel happy that we can associate objects with associations interface when create other objects. It is so smart and readable.
associations
On the other hand, in most cases I create objects without associations. Then I need write associations: [] every time like
associations: []
await hubspot.crm.contacts.basicApi.create({ properties, associations: [], // without associations })
, because it is required.
How about to make associations optional?
Either this or update the documentation, though preferrably change associations to optional.
Hi everyone The associations property have been made optional in the latest version of the SDK.
Hi there,
Thank you all for developing and maintaining this great library! It makes us joyful to use Hubspot. :D
I feel happy that we can associate objects with
associations
interface when create other objects. It is so smart and readable.On the other hand, in most cases I create objects without associations. Then I need write
associations: []
every time like, because it is required.
How about to make
associations
optional?