Skip to content

Default options#20

Open
LnrdRmj wants to merge 6 commits into
jackypan1989:masterfrom
LnrdRmj:master
Open

Default options#20
LnrdRmj wants to merge 6 commits into
jackypan1989:masterfrom
LnrdRmj:master

Conversation

@LnrdRmj
Copy link
Copy Markdown

@LnrdRmj LnrdRmj commented Aug 2, 2024

Added default options for the queryParser method.

Instead of writing every time the options like so:

queryParser({
    parseNull: true,
    parseUndefined: true,
    parseBoolean: true,
    parseNumber: true
  })

You can now just write:
queryParser()

@LnrdRmj LnrdRmj mentioned this pull request Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant