Shuhei Akutagawa
Shuhei Akutagawa
[提案] Aspida の `get` `$get` のように、HTTPステータス等の付加情報と共に結果を返す関数を別で用意するのはどうでしょうか? https://github.com/aspida/aspida/tree/main/packages/aspida-fetch#make-http-request-from-application 例: `getListDetail` の結果 ```json { "id": "abc", "publishedAt": "...", ... } ``` `$getListDetail`(仮称) の結果 ```json { "status": 200, "data": { "id": "abc", "publishedAt":...
私はHTTPステータスコードが欲しかったので、対応されるまでの間はfetchで取り直すことにしました。 ```tsx const data = await client .getListDetail({ endpoint, contentId }) .catch(async (error) => { // refetch with fetch API to get HTTP status code const { status } =...
Reproduction repository: https://github.com/aku11i/slack-issue-report-20251006
@zimeg Thank you for your response! I've been able to work around this issue by having my application ignore duplicate events related to the posted message after the first one....