Skip to content

Updated docs#1522

Merged
delvedor merged 1 commit intomasterfrom
modifycoreobjects-docs
Mar 9, 2019
Merged

Updated docs#1522
delvedor merged 1 commit intomasterfrom
modifycoreobjects-docs

Conversation

@delvedor
Copy link
Copy Markdown
Member

@delvedor delvedor commented Mar 9, 2019

Added some note related to serverless environments and removed "experimental status" from http2 (it's no longer experimental in Node.js core).

Checklist

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

@delvedor delvedor added the documentation Improvements or additions to documentation label Mar 9, 2019
@delvedor delvedor requested a review from a team March 9, 2019 14:43
Comment thread docs/Server.md
}

const fastify = Fastify({ serverFactory })
const fastify = Fastify({ serverFactory, modifyCoreObjects: false })
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please add a comment explaining why we are passing the option?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

You can find it a few lines after :)

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

@delvedor delvedor merged commit 1ee924f into master Mar 9, 2019
@delvedor delvedor deleted the modifycoreobjects-docs branch March 9, 2019 14:50
Comment thread docs/Server.md
})
```

Disable this option could help in serverless environments such as Google Cloud Functions, where `ip` and `ips` are not writable properties.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"Disable" => "Disabling"

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

@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 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants