Skip to content

error: ReadableStream has already been used #208

@steve-py96

Description

@steve-py96

In version 1.3.0 a bug was introduced where a response is re-used and causes the error from the title to occur

This handler seems to cause it:

app.get(path, page, {
    detail: {
      hide: true
    }
  })

Reproduction
Just do a fresh project with the most minimalistic setup: new Elysia().use(swagger()).listen(3000);

PS: awesome framework, thx for it <3 - if you want I can create a PR to fix this ig (doesn't seem too difficult on first sight :D, but choice is yours ofc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions