relay icon indicating copy to clipboard operation
relay copied to clipboard

Typescript types not marked as also null for connection marked with `@defer`

Open alexus37 opened this issue 1 year ago • 1 comments

When you mark a connection with @defer, the generated TypeScript type isn't marked as nullable. It seems like it should be, considering this data may not be ready when the initial response is sent back.

alexus37 avatar May 29 '24 14:05 alexus37

Today I learned that in relay @defer is only supported on inline fragments :/ (In case someone ends up here)

alexus37 avatar Jun 14 '24 13:06 alexus37