Hi there!
I am currently working on a GraphiQL alternative that trades React for Svelte and also uses CodeMirror 6. The variables and results panes are rendering just fine but the query pane needs a bit more work, mainly because the codemirror-graphql module depends on defineMode
and other functionality only present in the stable version.
I’ve looked at the current lezer examples and quite honestly, I don’t understand what I’m looking at. Can someone point me in the right direction?
Here’s what I’ve built so far. Please ignore the terrible contrast in the UI.