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

Azure func v4 compatibility #4178

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

qzxclkj
Copy link

@qzxclkj qzxclkj commented Aug 2, 2024

Since Azure Function v4, the invocation context structure has changed.

Closes: #3185

Checklist

  • Implement code
  • Add tests
  • Update TypeScript typings
  • Update documentation
  • Add CHANGELOG.asciidoc entry
  • Commit message follows commit guidelines

qzxclkj added 3 commits August 2, 2024 15:54
Since Azure Function v4, the invocaation context structure has changed.

Closes: elastic#3185
Since Azure Function v4, the invocation context structure has changed.

Closes: elastic#3185
trentm added a commit that referenced this pull request Jan 16, 2025
See https://learn.microsoft.com/en-ca/azure/azure-functions/functions-node-upgrade-v4
This builds on the work in #4178
by @qzxlkj (type that 5 times fast), which provide most of the runtime code fix.

The rest of this is adding testing and updated examples and docs.

Refs: #4178
Closes: #3185
@trentm
Copy link
Member

trentm commented Jan 16, 2025

@qzxclkj Thanks very much for this! And my apologies for taking so long to get back to this. Your changes (except for the usage of invocationContext.traceContext) are the basis of my #4426 which I hope to get in soon.

See #4426 (comment) for a long-ish discussion of why I don't want to use invocationContext.traceContext.

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.

support Azure Functions Node.js programming model v4
2 participants