Skip to content

Post-P-2373: legacy filter-operator spellings are rejected, not accepted#115

Merged
yosriady merged 1 commit into
mainfrom
chore/post-p2373-canonical-only-docs
Jul 24, 2026
Merged

Post-P-2373: legacy filter-operator spellings are rejected, not accepted#115
yosriady merged 1 commit into
mainfrom
chore/post-p2373-canonical-only-docs

Conversation

@yosriady

@yosriady yosriady commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Why

P-2373 Phase A+B (formono 71c36bf89, shipped to prod today) fully retired the filter alias-folding / dual-accept layer. This supersedes the state these docs were written against (#114), where the long-form spellings were "deprecated but still accepted / folded at the input boundary". As of today:

  • Only the 13 canonical terse tokens are accepted anywhere: eq, neq, in, nin, gt, gte, lt, lte, contains, startsWith, endsWith, notEmpty, isEmpty.
  • /v0/profiles and the funnel/flow/chart/alert filter surfaces reject equals/notEquals/greater/greaterOrEqual/less/lessOrEqual/notIn/includes (and like/symbol forms) with a 400 naming the token.
  • All five op-enum sites in the OpenAPI spec are canonical-only (FilterCondition no longer lists the aliases).

Changes

  • api/openapi.json — synced with the shipped backend spec (verified semantically identical to apps/backend/src/openapi.json at prod HEAD): FilterCondition enum drops the 8 alias entries; alias-acceptance wording removed from all five op descriptions; funnel/flow/segments examples use canonical tokens.
  • api/profiles/search.mdx — "deprecated but still accepted … folded" → retired + 400 naming the token.
  • api/boards/create-chart.mdx — both Tips: numeric long forms "remain accepted" → rejected with a 400.
  • api/query/funnel.mdx — step-filter operator list was still the long-form dialect (equals/notEquals/notIn/includes) with "long forms accepted as equivalents"; now the canonical dialect (eq/neq/nin/contains), curl example uses "operator":"eq", and the pipe-delimited in/nin value note matches the shipped spec.
  • api/query/flow.mdxnotInnin; canonical-only note added.
  • cli/profiles.mdx — "still accepted by the API" → rejected with a 400.

Verification

  • python3 semantic JSON compare of api/openapi.json vs formono apps/backend/src/openapi.json: identical.
  • npx mintlify validate: build validation passed. mintlify broken-links: none.
  • Repo-wide grep: no remaining alias-acceptance claims or long-form operator tokens presented as valid input (remaining "deprecated alias" hits are unrelated CLI flags --name/--status paused).

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

P-2373 Phase A+B shipped to prod today and superseded the earlier
"deprecated but accepted aliases" state: the long-form spellings
(equals/notEquals/greater/greaterOrEqual/less/lessOrEqual/notIn/includes),
symbol forms, and 'like' are now rejected with a 400 naming the token on
every filter surface. Only the 13 canonical terse tokens are accepted.

- api/openapi.json: sync with the shipped backend spec (FilterCondition
  enum canonical-only; alias-acceptance wording removed from all five
  op-enum sites; funnel/flow examples use canonical tokens)
- api/profiles/search.mdx: aliases are retired + 400, not "folded"
- api/boards/create-chart.mdx: numeric long forms rejected, not accepted (x2)
- api/query/funnel.mdx: operator list now the canonical dialect
  (eq/neq/nin/contains); example uses "eq"; long forms documented as rejected
- api/query/flow.mdx: in/nin (not notIn); canonical-only note
- cli/profiles.mdx: long forms rejected by the API, not "still accepted"

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Jul 24, 2026

Copy link
Copy Markdown

P-2373

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@mintlify

mintlify Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
formo 🟢 Ready View Preview Jul 24, 2026, 12:04 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@yosriady
yosriady merged commit fa8be4f into main Jul 24, 2026
6 checks passed
@yosriady
yosriady deleted the chore/post-p2373-canonical-only-docs branch July 24, 2026 12:51
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