Skip to content

Remove/Merge redundant decorate functions#1120

Merged
mcollina merged 3 commits intofastify:masterfrom
cemremengu:fas-1116
Aug 30, 2018
Merged

Remove/Merge redundant decorate functions#1120
mcollina merged 3 commits intofastify:masterfrom
cemremengu:fas-1116

Conversation

@cemremengu
Copy link
Copy Markdown
Contributor

@cemremengu cemremengu commented Aug 29, 2018

Addresses #1116

One downside is that decorate has now a generic message instead of already added to Reply/Request

also not sure if the dependency check of request.prototype and reply.prototype is valid but I assumed there is a test for it.

Checklist

  • run npm run test
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message and code follows Code of conduct

Comment thread lib/decorate.js Outdated
Comment thread lib/decorate.js Outdated
Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@jsumners jsumners left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcollina mcollina merged commit d6982ea into fastify:master Aug 30, 2018
@delvedor delvedor added the internals Change that won't impact the surface API. label Aug 30, 2018
@cemremengu cemremengu deleted the fas-1116 branch August 30, 2018 15:57
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

internals Change that won't impact the surface API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants