graphql-tag icon indicating copy to clipboard operation
graphql-tag copied to clipboard

A JavaScript template literal tag that parses GraphQL queries

Results 102 graphql-tag issues
Sort by recently updated
recently updated
newest added

Welcome to [Renovate](https://redirect.github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 Renovate will begin keeping your dependencies up-to-date only once...

dependencies

I'm encountering an issue while setting up Apollo GraphQL with my React Native app. Here's some context about my setup: I'm using React Native for my mobile app development. I'm...

needs more information

When using ESM, `gql` becomes non-callable because TS doesn't like namespaces with ESM `index.d.ts` file: ``` export declare function gql(literals: string | readonly string[], ...args: any[]): DocumentNode; export declare namespace...

Ask me how I know :) It looks like these import statements are meant to tolerate content after the module path, with the specific exception of a semicolon. ```graphql #import...

bug

Will there be a SWC support?

This adds an option esm which if set to true changes the exports to use ESM format export default doc; export const MyQuery = oneQuery(...); etc. This allows usage with...

Hello everyone, I have a graphql API that I'm querying using javascript. I have a `gql.js` file in which I write graphql queries using string literals. I'm planning to write...

I'm trying to import a `.graphql` file in a file called `main.ts`. I set up the webpack loader according to the readme file https://github.com/apollographql/graphql-tag#webpack-loading-and-preprocessing Here's how the file is imported:...

``` Warning: fragment with name Cake already exists. graphql-tag enforces all fragment names across your application to be unique; read more about this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names ``` My application...

I want people to be able to put graphql queries into a text box and then run those queries against the GraphQL server. So I have this: let mutation =...