Azure / Azure/azure-functions-nodejs-library

Reduce support cases: async code

Open
#160 1 comment 0 reactions 0 assignees View on GitHub
area:nodejs-functions IPD
Dominant language
TypeScript
Stars
70
Forks
35
Avg merge
4d 18h
Merged PRs (30d)
6

Description

We have some warnings like "Unexpected call to log" or "Choose either to return a promise or call done", although users aren't seeing them or are ignoring them. It can also just be difficult to debug async issues. My personal suggestion would be for people to use tools like eslint which can warn you for things like missing awaits. This should also just be better in the new model where we don't support the old callback `context.done` pattern.

## Support cases from June 2023 - Sept 2023

_Internal-only links_:

- https://elixir.microsoft.com/case-review/2307210030002971
- https://elixir.microsoft.com/case-review/2308070010003652
- https://elixir.microsoft.com/case-review/2309040050003156
- https://elixir.microsoft.com/case-review/2306060060001445
- https://elixir.microsoft.com/case-review/2306210030002505
- https://elixir.microsoft.com/case-review/2307110030001481
- https://elixir.microsoft.com/case-review/2307180030002197

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.