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

Перейти с apollo-server-express на @apollo/server в nestjs-gateway #329

Open
OsirisAnubiz opened this issue Oct 31, 2024 · 0 comments
Assignees

Comments

@OsirisAnubiz
Copy link
Member

OsirisAnubiz commented Oct 31, 2024

С чем связан запрос на фичу?

В пакете nestjs-gatway из nestjs есть библиотека apollo-server-express, которая является deprecated.
Необходимо перевести пакет nestjs-gateway с apollo-server-express на @apollo/server.

Расскажите как вы это себе видите

  • Используется `@apollo/server
  • Пересмотреть или убрать ограничение на использование express, чтобы можно было пользоваться fastify
    if (this.adapterHost.httpAdapter.getType() === 'express') {
  • Исправить @ts-expect-error и ошибки линтера для пакета

Критерии готовности выполнения задачи

nestjs-gateway использует @apollo/server и исправлены ошибки

@OsirisAnubiz OsirisAnubiz changed the title Обновить apollo в nestjs-gateway Перейти с apollo-server-express на @apollo/server в nestjs-gateway Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant