Skip to content

Ejecting express-middleware to its own module #30

@mattecapu

Description

@mattecapu
  1. It doesn't really belong to the network layer. It's just a mean to support the "batching protocol" that should be separated from the rest.
  2. Not everybody use express. I use koa and I made koa-graphql-batch to use this network layer, thus I don't need express-middleware.
  3. If one doesn't bother to do properly minification/tree-shaking, the middleware code will end up client side where it's all but needed.

I could take care of this if @nodkz agrees.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions