Re:GQless: A GraphQL client built for rapid iteration
by coding123 on Wednesday June 02, 2021 @11:36AM
(#27369906)
One of our requirements is to disable schema downloading in production in apollo server. (We can have it enabled in dev/local). Can this work if that is disabled? (Yes we know this is silly but our auditor caught it)
[ Parent
| on HN ]
Re:GQless: A GraphQL client built for rapid iteration
by harg on Wednesday June 02, 2021 @12:08PM
(#27370359)
From my understanding this should work as the schema is introspected ahead of time. This gives all the type information needed for the `useQuery` hook to work properly. Just the queries themselves are generated at runtime; there shouldn't be any need to introspect the schema then.
Where this might have an issue is with persisted queries. But then you'd need some sort of client/server build tooling to keep them in sync.
Re:GQless: A GraphQL client built for rapid iteration
by wereHamster on Wednesday June 02, 2021 @11:58AM
(#27370215)
What's the reasoning behind not allowing it?
Re:GQless: A GraphQL client built for rapid iteration
by nguyenkien on Wednesday June 02, 2021 @12:06PM
(#27370314)
Hiding details