Skip to content

Commit

Permalink
docs(changeset): Add support for limiting polymorphic plans (only som…
Browse files Browse the repository at this point in the history
…e of them, specifically `pgUnionAll()` right now) to limit the types of their results; exposed via an experimental 'only' argument on fields, for example `allApplications(only: [GcpApplication, AwsApplication])` would limit the type of applications returned to only be the two specified.
  • Loading branch information
benjie committed Dec 8, 2023
1 parent f66cc40 commit f305c32
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .changeset/khaki-fans-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"graphile-build-pg": patch
"postgraphile": patch
"@dataplan/pg": patch
---

Add support for limiting polymorphic plans (only some of them, specifically
`pgUnionAll()` right now) to limit the types of their results; exposed via an
experimental 'only' argument on fields, for example
`allApplications(only: [GcpApplication, AwsApplication])` would limit the type
of applications returned to only be the two specified.

0 comments on commit f305c32

Please sign in to comment.