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

fix(functions): Allow both partial and full resource names to enqueue tasks in emulator #2726

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

blidd-google
Copy link
Contributor

The docstring for getFunctions.taskQueue() advertises that task queues can be referenced by both fully and partially qualified resource names, but a user reported that fully qualified resource names was not working. This PR updates the resource resolution logic to properly resolve to the corresponding task queue in the new Cloud Tasks emulator.

Fixes #2725.

@blidd-google blidd-google self-assigned this Oct 8, 2024
Copy link
Member

@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Question: does this issue only apply to the emulator url?

@blidd-google
Copy link
Contributor Author

LGTM!

Question: does this issue only apply to the emulator url?

Yes, it should only apply to the new Cloud Tasks emulator!

@blidd-google blidd-google merged commit 8367b42 into master Oct 11, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cloud Tasks emulator does not accept all possible formats for getFunctions().taskQueue()
2 participants