Skip to content

ENG-2127 Replace all arity checks in the code by is_relation checks - #1310

Merged
maparent merged 2 commits into
mainfrom
eng-2127-replace-all-arity-checks-in-the-code-by-is_relation-checks
Aug 21, 2026
Merged

ENG-2127 Replace all arity checks in the code by is_relation checks#1310
maparent merged 2 commits into
mainfrom
eng-2127-replace-all-arity-checks-in-the-code-by-is_relation-checks

Conversation

@maparent

@maparent maparent commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

@linear-code

linear-code Bot commented Aug 19, 2026

Copy link
Copy Markdown

ENG-2127

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
discourse-graph Ready Ready Preview Aug 21, 2026 12:42pm

Request Review

@supabase

supabase Bot commented Aug 19, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project zytfjzqyijgagqxrzbmz because there are no changes detected in packages/database/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@maparent
maparent force-pushed the eng-2127-replace-all-arity-checks-in-the-code-by-is_relation-checks branch from 9bedb80 to 8a65e7f Compare August 19, 2026 14:37
@maparent
maparent requested a review from mdroidian August 19, 2026 14:39
@maparent
maparent marked this pull request as ready for review August 19, 2026 14:39
@graphite-app

graphite-app Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

PR size/scope check

This PR is over our review-size guideline.

  • Recommended: ~200 lines changed
  • Acceptable limit: up to 400 lines when well-scoped/self-contained
  • Preferred file count: fewer than 5 files

Please split this into smaller PRs unless there is a clear reason the changes need to land together.

If keeping it as one PR, please add a brief justification covering:

  • What single problem this PR solves
  • Why the files/changes are coupled

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@mdroidian mdroidian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

  • packages/database/doc/concept_design.md:126 still contains seven arity-based query examples and describes is_relation as a future proposal.
  • packages/database/schema.yaml:336 still states that nodes have zero arity and omits is_relation.
    • The corresponding PlantUML/SVG schema artifacts are consequently stale.
  • concept_example.md remains factually valid, but adding is_relation and a positive-arity node would better demonstrate the new distinction.

@maparent
maparent force-pushed the eng-2127-replace-all-arity-checks-in-the-code-by-is_relation-checks branch from f669505 to fc6fea3 Compare August 19, 2026 21:55
@maparent
maparent force-pushed the eng-2127-replace-all-arity-checks-in-the-code-by-is_relation-checks branch from 48db967 to 104f7c5 Compare August 20, 2026 00:43
@maparent
maparent force-pushed the eng-2127-replace-all-arity-checks-in-the-code-by-is_relation-checks branch from 104f7c5 to 26fd18e Compare August 20, 2026 17:32
Base automatically changed from eng-2126-create-a-is_relation-computed-column-on-concept to main August 21, 2026 12:39
@maparent
maparent force-pushed the eng-2127-replace-all-arity-checks-in-the-code-by-is_relation-checks branch from 26fd18e to 42fd4f0 Compare August 21, 2026 12:39
@maparent
maparent merged commit b5447cd into main Aug 21, 2026
8 of 9 checks passed
@maparent
maparent deleted the eng-2127-replace-all-arity-checks-in-the-code-by-is_relation-checks branch August 21, 2026 12:40
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.

2 participants