Skip to content

Init - #1

Closed
delvedor wants to merge 6 commits into
masterfrom
init
Closed

delvedor wants to merge 6 commits into
masterfrom
init

Conversation

@delvedor

Copy link
Copy Markdown
Member

I've added some basic files to start this project.
We can write here or open specific issues to discuss.

cc @fastify/fastify

@mcollina mcollina left a comment

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.

LGTM

@allevo

allevo commented Sep 15, 2017 •

Copy link
Copy Markdown
Member

Maybe use fastify/fastify-env is convenient 😉

And fastify-swagger

Comment thread test/basic.test.js

beforeEach(done => {
server.build({
'log-level': 'silent'

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.

are you sure that this is not logLevel?

@mcollina mcollina left a comment

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.

We need to put a bit more work on the project structure.

Comment thread test/basic.test.js
server.build({
'log-level': 'silent'
}, (err, instance) => {
if (err) throw err

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.

this is bad practice

Comment thread server.js

fastify.get('/status', (req, reply) => {
reply.send({ status: 'ok' })
})

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.

we should show a plugin somewhere

Comment thread server.js

fastify.ready(err => {
callback(err, fastify, opts)
})

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.

there is no need to call the callback within ready, avvio serializes everything.

@Uzlopak

Uzlopak commented Sep 6, 2023

Copy link
Copy Markdown
Contributor

closing due to inactivity

@Uzlopak Uzlopak closed this Sep 6, 2023
@github-actions

github-actions Bot commented May 1, 2026

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants