Skip to content

#4622 Add validation killswitch#4658

Draft
swirtSJW wants to merge 3 commits into
2.xfrom
4622-add-validation-killswitch
Draft

#4622 Add validation killswitch#4658
swirtSJW wants to merge 3 commits into
2.xfrom
4622-add-validation-killswitch

Conversation

@swirtSJW

Copy link
Copy Markdown
Contributor

Fixes #4622

Describe your changes

QA Steps

  • Add manual QA steps in checklist format for a reviewer to perform. Be as specific as possible, provide examples if appropriate.

Checklist before requesting review

If any of these are left unchecked, please provide an explanation

  • I have updated or added tests to cover my code
  • I have updated or added documentation

@swirtSJW swirtSJW marked this pull request as draft February 15, 2026 06:47
@swirtSJW swirtSJW force-pushed the 4622-add-validation-killswitch branch 2 times, most recently from 4dc1e10 to 7ebccdb Compare February 15, 2026 22:15
@swirtSJW swirtSJW force-pushed the 4622-add-validation-killswitch branch from 7ebccdb to cfd8db7 Compare February 15, 2026 23:57
* @param object|mixed $items
* Items to validate.
*/
protected function validateItems($items): void {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not really want to break this out into a separate function, but Qlty had opinions. Adding the one if wrapper brought it up to 6 layers deep.

too many layers

@swirtSJW

Copy link
Copy Markdown
Contributor Author

@dafeder raised in Slack that he has concerns about this disabling all validation and suggests that it be scoped to only disabling data read/load, not data write. I think that sounds reasonable.

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.

Consider temporary json validation kill switch

1 participant