Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

change *compiler api #2179

Merged
merged 3 commits into from
Apr 12, 2020
Merged

change *compiler api #2179

merged 3 commits into from
Apr 12, 2020

Conversation

Eomm
Copy link
Member

@Eomm Eomm commented Apr 5, 2020

I would like to change the new API interface for *compilers, this would ease the migration from v2 to v3.

I thought it was a good idea to put the schema at the end... 馃槄

Edit:

the target is that the migration would be: "replace setSchemaCompiler() to setValidatorCompiler()"

cc #2140

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

@Eomm Eomm added semver-major Issue or PR that should land as semver major v3.x Issue or pr related to Fastify v3 labels Apr 5, 2020
docs/Routes.md Outdated Show resolved Hide resolved
Copy link
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

@Eomm
Copy link
Member Author

Eomm commented Apr 12, 2020

applied @jsumners suggestion 馃憤

lib/schema-compilers.js Show resolved Hide resolved
@Eomm Eomm mentioned this pull request Apr 12, 2020
7 tasks
Copy link
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
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

We must add a very clear call out to this in the release notes.

@mcollina mcollina merged commit 5bc406d into fastify:next Apr 12, 2020
@jsumners jsumners mentioned this pull request Apr 14, 2020
2 tasks
@github-actions
Copy link

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
semver-major Issue or PR that should land as semver major v3.x Issue or pr related to Fastify v3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants