Union types were always defined in the query selection
null
type, improving interoperability with other toolsas
instead of <
syntax in generated filestypes.ts
file so the client was failing at runtime.undici
was missing.@genql/runtime
or graphql
)fetch
is not available) you will need to pass a fetch
prop to createClient
__args
prop instead of an array, this makes it easier to refactor code and type the query (there is also no need to use as const
to have the right typescript inference)GenqlError
with errors
and data
fields with the server returned errorsRequest
types to GenqlSelection
to prevent conflicts with existing types