Can a union type resolve directly to an array?

This page summarizes the projects mentioned and recommended in the original post on /r/graphql

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • graphql-spec

    GraphQL is a query language and execution engine tied to any backend service.

    Ah I forgot that you could instead also have a single object type that has two fields, error and success, where the success is the list. Both fields must be nullable though. There is a oneOf spec PR open for input types and field arguments, something similar could be done for object types https://github.com/graphql/graphql-spec/pull/825

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts