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

bugfix: Updated the location of the 'PreservePath' boolean within the… #2800

Merged
merged 1 commit into from
Aug 24, 2019
Merged

bugfix: Updated the location of the 'PreservePath' boolean within the… #2800

merged 1 commit into from
Aug 24, 2019

Conversation

Leth01
Copy link

@Leth01 Leth01 commented Aug 23, 2019

… MulterOptions interface

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[x] 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?

The current MulterOptions interface contains the preservePath boolean as part of the limits object however according to the Multer documentation, as well as Express documentation, this option is independent.

Issue Number: N/A

What is the new behavior?

The location of the preserveOptions boolean has been moved outside of the limits object in the MulterOptions interface.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@Leth01
Copy link
Author

Leth01 commented Aug 23, 2019

Forgive my ignorance here - I'm not a largely experienced developer. I noticed that some of the CI checks were failing - I've had a brief look over the failing test cases and i'm a little confused how the change to the TypeScript interface caused 6 failed tests.

Is this something I should be concerned about? I've never made a PR on such a large repository before.

@kamilmysliwiec
Copy link
Member

No worries @Leth01. For some reason, our builds started failing (sometimes) in Travis, which is not the case in the local environment. Once I retrigger the build, all tests should succeed.

@Leth01
Copy link
Author

Leth01 commented Aug 23, 2019

No worries @Leth01. For some reason, our builds started failing (sometimes) in Travis, which is not the case in the local environment. Once I retrigger the build, all tests should succeed.

That's a relief. I was worried I had messed up. :)

@kamilmysliwiec kamilmysliwiec added this to the 6.6.0 milestone Aug 24, 2019
@kamilmysliwiec kamilmysliwiec changed the base branch from master to 6.6.0 August 24, 2019 09:12
@kamilmysliwiec kamilmysliwiec merged commit 8bccfca into nestjs:6.6.0 Aug 24, 2019
@lock
Copy link

lock bot commented Nov 22, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants