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 bug where callable functions can't be emulated. #4314

Merged
merged 6 commits into from Mar 17, 2022

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Mar 16, 2022

Fixes #4313

In #4310, we started to support new type of triggers callableTrigger (distinct from httpTrigger).

Functions Emulator does not support callableTrigger. We fix this by converting callbleTrigger to httpTrigger. This is tech debt - at some point, we should use endpoint definitions throughout the emulator (cc @joehan).

Also adds integration tests for emulating callable triggers to prevent this kind of breakages in the future.

@taeold taeold enabled auto-merge (squash) March 16, 2022 23:18
Co-authored-by: Bryan Kendall <bkend@google.com>
@taeold taeold requested a review from bkendall March 16, 2022 23:51
@BaptisteCool
Copy link

BaptisteCool commented Mar 17, 2022

fixed in Release in 1.4.0 here

@bkendall bkendall deleted the dl-cf3-emulator-callable branch March 18, 2022 23:18
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.

TypeError: Cannot read property 'data' of undefined since v10.3.1
4 participants