github vapor/vapor 4.12.1
Fix #file usage for 5.3

latest releases: 4.100.0, 4.99.3, 4.99.2...
3 years ago
This patch was authored and released by @tanner0101.

Fixes issue with previous #file warning fix in 4.10.1 that caused incorrect file paths to be passed (#2411).

Wrapping the default #file parameter in parentheses prevents it from forwarding to the call site. The parentheses must be added before passing to the methods accepting #filePath.

See new discussion of SE-0274 for more information.

Don't miss a new vapor release

NewReleases is sending notifications on new releases.