Skip to content

Add flag to allow disabling of validation on input(issue 573)#615

Merged
greyli merged 12 commits intoapiflask:mainfrom
un4gt:iss573
Oct 27, 2024
Merged

Add flag to allow disabling of validation on input(issue 573)#615
greyli merged 12 commits intoapiflask:mainfrom
un4gt:iss573

Conversation

@un4gt
Copy link
Copy Markdown
Contributor

@un4gt un4gt commented Oct 7, 2024

fixes #573

Checklist:

  • Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
  • Add or update relevant docs, in the docs folder and in code docstring.
  • Add an entry in CHANGES.md summarizing the change and linking to the issue.
  • Add *Version changed* or *Version added* note in any relevant docs and docstring.
  • Run pytest and tox, no tests failed.

set validation=False in @app.input(someSchema) to skip validatation and get raw data.

@greyli greyli merged commit 590975f into apiflask:main Oct 27, 2024
@greyli
Copy link
Copy Markdown
Member

greyli commented Oct 27, 2024

Merged, thanks!

BTW, I made some enhancements in this commit.

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.

Add flag to allow disabling of validation on input

2 participants