Skip to content

docs(graphile-postgis): lead spatial-relation examples with ORM where: shape#994

Merged
pyramation merged 1 commit intomainfrom
feat/postgis-spatial-relations-docs
Apr 17, 2026
Merged

docs(graphile-postgis): lead spatial-relation examples with ORM where: shape#994
pyramation merged 1 commit intomainfrom
feat/postgis-spatial-relations-docs

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

Summary

Docs-only follow-up to #993. The README for @spatialRelation previously only showed GraphQL filter: examples, but most consumers use the generated ORM (where:). This adds ORM-shaped examples above each GraphQL example so readers can copy the form that matches their layer.

Also fixes a stale eqequalTo in the GraphQL examples (the graphile-connection-filter idiom is equalTo; this is the same fix applied to the test suite in #993).

Review & Testing Checklist for Human

  • Confirm the ORM snippets (orm.telemedicineClinic.findMany({ where: { … } }).execute()) match your preferred documentation style — they mirror the shape used in the E2E test at graphql/orm-test/__tests__/postgis-spatial-relations.test.ts but the README isn't executed, so typos would go unnoticed.
  • Skim-render the README on the PR page to check the two layers (where: ORM block → filter: GraphQL block) read cleanly in sequence.

Notes

No code changes, no new tests; CI will just run the existing suite. Zero expected behaviour change.

Link to Devin session: https://app.devin.ai/sessions/c5eeee65a3c546c4ac6753bb05fa03e0
Requested by: @pyramation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@pyramation pyramation merged commit b988681 into main Apr 17, 2026
51 checks passed
@pyramation pyramation deleted the feat/postgis-spatial-relations-docs branch April 17, 2026 23:18
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