Skip to content

feat(hubspot): Use components#2957

Merged
Cobalt0s merged 1 commit into
mainfrom
cobalt0s/hubspot-multi-module
May 8, 2026
Merged

feat(hubspot): Use components#2957
Cobalt0s merged 1 commit into
mainfrom
cobalt0s/hubspot-multi-module

Conversation

@Cobalt0s
Copy link
Copy Markdown
Contributor

@Cobalt0s Cobalt0s commented May 6, 2026

Description

Completes the HubSpot migration to using components package.

Changes

  • ProviderInfo, ModuleInfo, and the JSON client are now initialized through components.Initialize.
  • Removed legacy params.go and modules.go, which are no longer required.
  • Removed provider.go and string.go. Their functionality is now provided by embedding *components.Connector.
  • Updated TestConnector_getURL_ModuleCRM to adapt to the new connector construction in this PR.
    • While the previous test setup was tied to older initialization behavior, the original intent and coverage of the test remains unchanged. (Will be removed in the upcoming RP)
  • CRM adapter is renamed to delegate. It is no longer a "module" representation. In the next PR its content will move to Hubspot Connector struct.

Live tests

Create, update, delete, read contacts:
1

Read lists using search:
image

Read contacts by IDs:
image

Read companies with associations:
image

Batch create contacts:
image

Batch update contacts with associations:
image

Copy link
Copy Markdown
Contributor Author

Cobalt0s commented May 6, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Cobalt0s Cobalt0s merged commit eb22d43 into main May 8, 2026
6 checks passed
@Cobalt0s Cobalt0s deleted the cobalt0s/hubspot-multi-module branch May 8, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants