We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b3e8c3 commit dc38cd9Copy full SHA for dc38cd9
1 file changed
packages/graphiql/README.md
@@ -142,7 +142,7 @@ The most minimal way to set up GraphiQL is a single index.html file:
142
></script>
143
144
<script>
145
- const fetcher = GraphiQL.createFetcher('https://my/graphql');
+ const fetcher = GraphiQL.createFetcher({ url: 'https://my/graphql' });
146
147
ReactDOM.render(
148
React.createElement(GraphiQL, { fetcher: fetcher }),
0 commit comments