-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Hey! 👋
I'm using decodeQueryParams
and getting warnings like "Passing through parameter [parameter] during decoding since it was not configured" for query params that I don't actually need to decode.
My URLs sometimes have extra parameters (analytics stuff, legacy params, etc.) that I want to ignore, but the warnings are cluttering up my console and exposing internal behavior that I'd like to hide from final users.
Would it be possible to add a simple option to suppress these warnings? Something like:
decodeQueryParams(config, query, { suppressWarnings: true })
Right now I have to add every possible parameter to my config just to avoid the warnings, which feels messy.
--
Thanks for the awesome library!
Shaddix
Metadata
Metadata
Assignees
Labels
No labels