question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Relay] support aggregate

See original GitHub issue

I’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:open
  • Created 3 years ago
  • Reactions:18
  • Comments:18

github_iconTop GitHub Comments

3reactions
KayakinKodercommented, Dec 22, 2021

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.

2reactions
UlyssesInvictuscommented, Mar 7, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found