Documentation lists Aggregate, but feature not released in pg_graphql
@olirice ci sta già lavorando.
Dal 30/8/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Describe the bug The Supabase GraphQL documentation mentions the possibility to enable aggregate fields using table comments (see: https://supabase.com/docs/guides/graphql/configuration#aggregate). However, when attempting to enable it on a Supabase Cloud project, the feature does not appear in the schema. This looks like either:
- the feature is not yet released despite being documented, or
- there is a bug in the extension where the configuration is silently ignored.
To Reproduce Steps to reproduce the behavior:
- On Supabase Cloud, with pg_graphql v1.5.11 (Postgres 17.4.1.074), open the SQL Editor.
- Run:
comment on table "TableName" is e'@graphql({"aggregate": {"enabled": true}})'; - Go to the GraphQL schema explorer in Supabase Studio or introspect the schema via GraphQL.
- Notice that the
aggregatefield is not exposed on the type.
Expected behavior The GraphQL schema should expose an aggregate field on the BlogPost type when aggregate.enabled = true, as described in the documentation.
Screenshots No SQL error is returned when applying the comment, but the field is missing from the schema. Example from the GraphQL Explorer:
# Expected to see something like:
aggregate {
count
...
}
# But aggregate is not present.
Versions:
- PostgreSQL: 17.4.1.074
- pg_graphql: 1.5.11 (Supabase Cloud)
Additional context
- The related PR implementing aggregate support is https://github.com/supabase/pg_graphql/pull/589 (merged May 2025).
- The last pg_graphql release on GitHub is from February 2025, so it seems the feature has not been released yet.
- However, the Supabase documentation already describes
aggregateas available, which creates confusion.
Security This is not a security issue.
- Lingua principale
- Rust
- Stelle
- 3.4k
- Fork
- 143
- Merge medio
- 4h 47m
- PR unite (30g)
- 2
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di supabase/pg_graphql
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
supabase/pg_graphql#646 ·
-
service_role treated as anon, by GraphiQLForse già presa @olirice l’ha presa 167 giorni fa. Apertatriage-required
supabase/pg_graphql#642 · 1 assegnatario ·
-
`graphql.resolve` crashes backend process on invalid `BigInt` filter value (`signal 6`, Postgres enters recovery)Forse di nuovo libera @olirice l’ha presa 168 giorni fa e non c’è nessuna pull request aperta. Apertatriage-required
supabase/pg_graphql#641 · 1 commento · 1 assegnatario ·
-
specifiedByURL field on __Type is declared in the schema but not handled by the resolverForse di nuovo libera @olirice l’ha presa 183 giorni fa e non c’è nessuna pull request aperta. Apertatriage-required
supabase/pg_graphql#629 · 1 assegnatario ·
-
Inconsistent handling of optional filter variables for `SETOF SQL` functions gives "Encountered Absent value" errorForse di nuovo libera @olirice l’ha presa 321 giorni fa e non c’è nessuna pull request aperta. Apertatriage-required
supabase/pg_graphql#617 · 1 commento · 1 assegnatario ·
Tutte le issue di supabase/pg_graphql
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
memory_patch_page drops the `#` of headings like `## Notes on C#`Forse già presa @viniciusdsandrade l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
akitaonrails/ai-memory#1859 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wealthfolio/wealthfolio#2376 ·
I maintainer di solito rispondono entro 1 giorno
-
kind/bug kind/security
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
spiceai/spiceai#15826 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area:cli bug dotnet good first issue priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
rtk-ai/rtk#4844 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno