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

refactor(fastify): updated static options #11995

Merged

Conversation

Mojtaba-NA
Copy link
Contributor

@Mojtaba-NA Mojtaba-NA commented Jul 8, 2023

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

since version 6.10.0, fastify-static added an option to specify route constraints. I've just updated the interface in platform-fastify package to reflect the latest type in fastify-static package.

fastify-static v6.10.0 changelog

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@coveralls
Copy link

coveralls commented Jul 8, 2023

Pull Request Test Coverage Report for Build 1bb53f98-8fe9-49f2-ad3f-702264b3cf92

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 92.864%

Totals Coverage Status
Change from base Build 3dfb6545-1975-4a99-b2ed-aaa49f412a91: 0.0%
Covered Lines: 6364
Relevant Lines: 6853

💛 - Coveralls

* @param localOptions
*
* @param localOptions
*
Copy link

Choose a reason for hiding this comment

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

These spacing changes are unrelated to the commit aren't they? If so, they shouldn't be in it, and rather submited as a separate PR for formatting

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jrobeson changed the PR to contain only the changes that I've made.

@Mojtaba-NA Mojtaba-NA force-pushed the fastify-static-options-changes branch from 535f54b to 629715d Compare July 14, 2023 17:51
@kamilmysliwiec kamilmysliwiec merged commit e5ca64a into nestjs:master Jul 17, 2023
@Mojtaba-NA Mojtaba-NA deleted the fastify-static-options-changes branch July 18, 2023 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants