embeddable-explorer
embeddable-explorer copied to clipboard
Can't disable polling for schema updates
I'm using embedded sandbox and want to disable the polling for schema updates.
This is my HTML document:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="height:100vh;margin:0px;overflow:hidden">
<script src="https://embeddable-sandbox.cdn.apollographql.com/_latest/embeddable-sandbox.umd.production.min.js"></script>
<script>
new window.EmbeddedSandbox({
target: 'body',
initialEndpoint: 'https://mygqlendpoint.example',
includeCookies: false,
initialState: {
pollForSchemaUpdates: false
},
runTelemetry: false
});
</script>
</body>
</html>
I still get IntrospectionQuery requests on an interval.
Is there an issue with my code?