Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] fetchDb only fetches first 25 tables #4

Closed
pieterdt opened this issue Apr 25, 2024 · 2 comments
Closed

[BUG] fetchDb only fetches first 25 tables #4

pieterdt opened this issue Apr 25, 2024 · 2 comments

Comments

@pieterdt
Copy link

Describe the bug
the implementation probably lacks paging, it is not so common to have that many tables I think.

To Reproduce
Steps to reproduce the behavior:

  1. Create more than 25 tables in your hubspot account
  2. run fetchDb
  3. select 'a' to select all tables and start the download
  4. See that only 25 tables are saved.

Expected behavior
All tables should be saved

Additional context
V3.2.1

@pieterdt
Copy link
Author

pieterdt commented Apr 25, 2024

seems like this is delegated to @hubspot/cli-lib which is marked as deprecated. I've created an issue on @hubspot/hubspot-local-dev-lib to request the fetchTables support. However that will not solve the issue here i guess. HubSpot/hubspot-local-dev-lib#128

@pieterdt
Copy link
Author

closing as this was not an issue, got 44 tables, the default page size is 1000 so should be enough. The misunderstanding came from the difference between name and label of a table, the name is buried in the table settings, and not readily visible in the UI, hence i couldn't find the table I was looking for in the downloaded set, as it is named after the table name.

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

No branches or pull requests

1 participant