Repository navigation
Patch
-
Updated the dependency @types/busboy.
-
Corrected the type
FileUploadpropertyfilenamefromstringtostring | undefinedto reflect existing runtime behavior when the client uploads without a filename using the MIME typeapplication/octet-streamin a GraphQL multipart request file field; an unusual scenario that’s now supported by tests.This is in response to a similar correction published upstream in the dependency @types/busboy in the recent SemVer patch release v1.5.5.
This change is likely to introduce useful TypeScript errors in projects that, due to the previously incorrect types, unsafely assumed all file uploads have a filename. While a SemVer patch release breaking builds is undesirable, it’s the least bad option out of the considered alternatives.
-
Refactored tests in nested suites with more focused test names.