Skip to content

Document strict boolean validation for $null and $notNull filters - #3695

Draft
pwizla wants to merge 1 commit into
mainfrom
cms/document-null-notnull-strict-validation
Draft

pwizla wants to merge 1 commit into
mainfrom
cms/document-null-notnull-strict-validation

Conversation

@pwizla

@pwizla pwizla commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

This PR updates the $null and $notNull operator description on the REST API filters page: they now accept the same strict boolean values as boolean attributes (true/t/1 and false/f/0, case-insensitive), a null or undefined operand still reads as false, and any other value now returns a 400 ValidationError instead of being read as true.

Documents #28513

Direct preview link 👉 here
⚠️ The branch slug for this preview URL is 43 characters long (over the 35-character limit), so the URL above is likely truncated and incorrect. It must be fixed with /inki:pr-fix once Vercel has finished building the preview.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@pwizla pwizla added flag: merge pending release Waiting for the related product PR to be merged before merging this documentation PR auto-doc-healing Automatically generated documentation PR labels Nov 13, 2026
@pwizla pwizla self-assigned this Nov 13, 2026
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Nov 13, 2026 1:40am UTC

Request Review

@strapi-cla

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions github-actions Bot added this to the 7.9.0 milestone Nov 13, 2026
@github-actions github-actions Bot added the internal PRs created by the Strapi core team label Nov 13, 2026
@pwizla pwizla added the automerge: eligible can be auto-merged (handled by automerge-cron.yml); tag added by automerge-eligibility.yml label Nov 13, 2026

This branch was successfully deployed

1 active deployment
Preview — 95a8d6ab Deployed Nov 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-doc-healing Automatically generated documentation PR automerge: eligible can be auto-merged (handled by automerge-cron.yml); tag added by automerge-eligibility.yml flag: merge pending release Waiting for the related product PR to be merged before merging this documentation PR internal PRs created by the Strapi core team pr: chore source: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants