[Relay] support aggregate
See original GitHub issueI’ve tried the Relay API, but I can’t find a way to aggregate it in the Relay API.
It would be great if xxx_aggregate
was generated in query_root or if a field like total_count
was added in xxx_connection
.
For example:
query MyQuery {
user_aggregate {
aggregate {
count
}
}
}
or
query MyQuery {
user_connection {
+ total_count
edges {
node {
id
name
}
}
}
}
Thank you!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:18
- Comments:18
Top Results From Across the Web
Amazon Relay
Amazon Relay provides carriers access to our freight network, giving fleet owners and owner operators the opportunity to grow their truck driving ...
Read more >aggregate-clients (DHCP Relay Agent) | Junos OS
Specify that the router merge (chain) client attributes such as firewall filters and CoS attributes or replace them when multiple client sessions exist...
Read more >IRONdb Relay - Circonus Docs
Aggregation of incoming metrics based on regular expressions with support for SUM, AVG, MIN, MAX, p0, p25, p50, p95, p99, p100.
Read more >PostGraphile | Aggregates
PostGraphile has support in its plugin system for powerful aggregates. This system was only introduced in 4.4 ... Aggregates only work on Relay...
Read more >carbon-c-relay(1) - Debian Manpages
carbon-c-relay - graphite relay, aggregator and rewriter ... Two ways of specifying aggregates are supported by carbon-c-relay.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s unfortunate there’s no discussion from the Hasura team in over a year on this. GraphQL + Relay + React is the stack many enterprises large and small are going to be building with.
I’ve since migrated off this project/team, but we were required to completely abandon Hasura due to this, as Relay’s opinionated schema standard was far more important to us than using Hasura, which had plentiful competitors.
Hopefully a team member sees this and can respond, but I can’t recommend the tool at this point in time to anyone.