expressjs / expressjs/multer

Warn on unknown options

Open
#188 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
12.1k
Forks
1.1k
Avg merge
8d 2h
Merged PRs (30d)
21

Description

It would be very good if we could output a warning when passing in any option that we don't recognise.

We can't start throwing just yet since that needs to be in the next major bump, but that is the behaviour that I would most prefer.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Multer parses and validates its options, then inspect any existing tests for option handling. Define the warning behavior for unrecognized options while preserving the current non-throwing behavior; done means unknown options produce warnings and recognized options continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.