Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Graphql-tag is tagged template which parses and normalizes queries inside. In generated schema it means running parser in runtime. Though why do we need to parse when we already have compiler to do all the job. Here I switched to "string" document mode to generate template literals without any tags. So there is no more runtime overhead. The only issue is duplicated fragments which break pinned posts query. dedupeFragments helps to solve this by removing dependencies from fragments and listing them all in queries.
- Loading branch information