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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare fastify route schema route un-nested from opts #2364

Merged
merged 1 commit into from
Apr 12, 2021

Conversation

dapplion
Copy link
Contributor

Motivation

Reduce boilerplate

Description

No route uses any other option than schema. Remove the property entirely when un-used

@codeclimate
Copy link

codeclimate bot commented Apr 12, 2021

Code Climate has analyzed commit 9b09063 and detected 9 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 9

View more on Code Climate.

@dapplion dapplion merged commit 36dcb8a into master Apr 12, 2021
@dapplion dapplion deleted the dapplion/api-route-schema branch April 12, 2021 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants