mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 20:36:19 +08:00
Disable false-positive warnings
This commit is contained in:
@@ -4,6 +4,16 @@ import globalFragments from 'coral-framework/graphql/fragments';
|
||||
import uniq from 'lodash/uniq';
|
||||
import {gql} from 'react-apollo';
|
||||
|
||||
/*
|
||||
* Disable false-positive warning below, as it doesn't work well with how we currently
|
||||
* assemble the queries.
|
||||
*
|
||||
* Warning: fragment with name {fragment name} 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
|
||||
*/
|
||||
gql.disableFragmentWarnings();
|
||||
|
||||
const fragments = {};
|
||||
const mutationOptions = {};
|
||||
const queryOptions = {};
|
||||
|
||||
Reference in New Issue
Block a user