The latest version of async-graphql's GraphiQL integration is currently broken. This issue appears to be related to React version compatibility problems in the default GraphiQL implementation.
Dependencies used:
[dependencies]
package blockqueue | |
import ( | |
"context" | |
"fmt" | |
"os" | |
"testing" | |
"time" | |
"github.com/google/uuid" |
import { extname } from "path"; | |
import { createFilter } from "@rollup/pluginutils"; | |
import image from "@rollup/plugin-image" | |
import svelteSVG from "rollup-plugin-svelte-svg"; | |
const mode = process.env.NODE_ENV; | |
const dev = mode === "development"; | |
const svgPlugin = svelteSVG({ dev }); | |
const origSvgPluginTransform = svgPlugin.transform; | |
const filter = createFilter(); |
const svgPlugin = svelteSVG({ dev }); | |
const origSvgPluginTransform = svgPlugin.transform; | |
const filter = createFilter(); | |
svgPlugin.transform = (source, id) => { | |
if (!filter(id) || extname(id) !== ".svg") { | |
return null; | |
} | |
// @rollup/plugin-image the code that this plugin generate | |
// is looks like | |
// var img = ".."; export default img; |