We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7534c7 commit ea4661aCopy full SHA for ea4661a
types/index.d.ts
@@ -104,7 +104,7 @@ declare namespace fastifyMultipart {
104
[fieldname: string]: Multipart | Multipart[] | undefined;
105
}
106
107
- export interface FastifyMultipartBaseOptions {
+ export interface FastifyMultipartBaseOptions extends Partial<BusboyConfig> {
108
/**
109
* Add a shared schema to validate the input fields
110
*/
types/index.test-d.ts
@@ -14,6 +14,7 @@ const runServer = async () => {
14
const app = fastify()
15
16
app.register(fastifyMultipart, {
17
+ preservePath: true, // field inherited from `BusboyConfig` interface
18
attachFieldsToBody: true,
19
limits: {
20
parts: 500
0 commit comments