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

fix: nestjs #83

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

fix: nestjs #83

wants to merge 8 commits into from

Conversation

ismoiliy98
Copy link
Contributor

  • Fixes nest js implementation
  • Adds fastify adapter implementation for nest js
  • Fixes bench.ts script where the header is set incorrectly in the commands array.
    Details When you split the command string by spaces (command.split(' ')), a shell does not interpret the single quotes. Instead, they are passed literally as part of the argument. Bombardier receives the header as 'content-type:application/json' (including the quotes), which is not a valid Content-Type header. This caused a problem with Fastify when I ran the benchmark on it. Fastify defaults to the application/octet-stream content type, throwing errors because there are no handlers for the application/octet-stream media type set by default in the nest js fastify adapter.

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

Successfully merging this pull request may close these issues.

1 participant