Skip to content

Conversation

lisongmin
Copy link

SUMMARY

Add suppress_output option to jsonschema validator

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

validate

ADDITIONAL INFORMATION

When validate a json schema failed, the error block contains the source data and criteria.
And the data and criteria are usually too large, so we can't find the error message quickly.
Also the data may contains sensitive info that we don't want to show out.

This PR provides a way to suppress the data and criteria in the error block

Copy link
Contributor

@lisongmin
Copy link
Author

pre-commit.ci autofix

Copy link
Contributor

@Ruchip16 Ruchip16 self-requested a review September 18, 2024 10:02
@Ruchip16
Copy link
Member

@lisongmin thanks for raising this PR, just a small request could you kindly add changelog and integration tests to validate this following change?

@lisongmin lisongmin force-pushed the add-suppress_output-to-jsonschema-validate branch from ad02898 to 778faf6 Compare March 21, 2025 10:51
Copy link
Contributor

@lisongmin
Copy link
Author

Done

@lisongmin thanks for raising this PR, just a small request could you kindly add changelog and integration tests to validate this following change?

Co-authored-by: Ruchi Pakhle <[email protected]>
Copy link
Contributor

@Ruchip16 Ruchip16 added the enhancement New feature or request label Jun 9, 2025
@Ruchip16 Ruchip16 marked this pull request as draft June 9, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants