Skip to content

Why do you use methods for queryParser and bodyParser plugins? #10

@dulichan

Description

@dulichan

I plugged in the queryParser and bodyParser as below.

pipe.plug(common.queryParser);
pipe.plug(common.bodyParser);

Currently we have to plug it in as

pipe.plug(common.queryParser());
pipe.plug(common.bodyParser());

Wouldn't it be nicer to have it in the method I mentioned previously.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions