Skip to content

fix issue where tool does not work with firebase-tools v15#65

Merged
amalej merged 2 commits intomasterfrom
fix_fbtools_v15
Dec 9, 2025
Merged

fix issue where tool does not work with firebase-tools v15#65
amalej merged 2 commits intomasterfrom
fix_fbtools_v15

Conversation

@amalej
Copy link
Owner

@amalej amalej commented Dec 9, 2025

fixes #66

firebase-tools v15 will introduce a lazy loading of commands feature. this will cause commands to not be all loaded on default. so we need to manually load them. Used the ff logic to do it

  1. Get the client object tree
  2. Determine which "branch" of the object tree are commands(the ones with load function)
  3. Store all those commands in a list
  4. run getCommand(command) for each command to register/load them
  5. get the client after loading all the commands

@amalej amalej merged commit 70235a6 into master Dec 9, 2025
2 checks passed
@amalej amalej deleted the fix_fbtools_v15 branch December 9, 2025 15:42
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.

[bug] Issue with firebase tools v15. commands are not being auto completed

1 participant