Azure-Samples / Azure-Samples/communication-services-javascript-quickstarts

Obsolete property in send email sample

オープン 初心者向け
#348 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
status:triage
主要言語
JavaScript
スター
108
フォーク
207
PR マージ指標
30日以内にマージされた PR はありません

説明

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

`poller.getOperationState().isStarted` was removed in a version of azure/communication-email as of the official Microsoft documentation points in favor of `poller.getOperationState().status !== "running"`. Reporting this here as the provided sample code still references this older property and may cause issues for developers who do not catch the notice in the documentation and rely solely on this sample.

Reference in MS docs: https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/send-email?tabs=windows%2Cconnection-string%2Csend-email-and-get-status-async%2Casync-client&pivots=programming-language-javascript

Issue in sample code file: `send-email/send-email.js` Line 27

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Open send-email/send-email.js at line 27 and compare the sample with the linked Microsoft documentation. Update the sample so it uses the current email poller status property, then verify the obsolete isStarted reference is gone and the sample still reflects the documented flow.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, javascript
領域
documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
90/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。