Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Integration conflict with NestJS interceptors

オープン
#8 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
node.js, typescript

調査の方向性

Start by locating the SDK initialization and Axios instance setup, then check how NestJS consumers provide dependencies and how existing tests cover request configuration. Determine whether initialization can accept a caller-provided Axios instance; done means SDK requests use that instance while existing initialization still works. The payload names no files or tests, so locate them in the repository.

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

説明

bug nestjs
🧩 Integration conflict with NestJS interceptors

Labels: bug, nestjs, middleware
Framework context: NestJS with global interceptors (e.g., LoggingInterceptor, CacheInterceptor)

Description:
When the Openapi SDK is used inside a NestJS provider or service, global interceptors fail to intercept outbound requests.
This happens because the SDK overrides the internal Axios instance, bypassing Nest’s dependency injection and middleware hooks.

Workaround:
Manually wrap SDK calls in a custom Axios adapter — cumbersome and breaks the standard NestJS DI pattern.

Proposal:
Allow injection of a custom axios instance during initialization:

Openapi.configure({ httpClient: myAxiosInstance });
主要言語
JavaScript
スター
20
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openapi/openapi-nodejs-sdk のほかの issue

openapi/openapi-nodejs-sdk の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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