Skip to content

Commit

Permalink
Merge pull request #2411 from audunhalland/graphql_introspection_netw…
Browse files Browse the repository at this point in the history
…ork_only

Use 'network-only' apollo option for graphql introspection.
  • Loading branch information
Gildas Garcia authored Oct 11, 2018
2 parents 6fd1e64 + d514640 commit 869c15f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ra-data-graphql/src/introspection.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default async (client, options) => {
? options.schema
: await client
.query({
fetchPolicy: 'network-only',
query: gql`
${introspectionQuery}
`,
Expand Down

0 comments on commit 869c15f

Please sign in to comment.