Change the query.
See what GORM sees.
Edit a focused GORM query and inspect four views at once: C# intent, graph/query anatomy, translation diagnostics and the resulting SQL Server Graph shape.
Enable the optional .NET WebAssembly runtime for verified presets, mapped Name/State filters (including Name AND/OR State), and editable one- and two-hop graph traversals. Unsupported C# remains illustrative; no arbitrary code or SQL Server is executed.
Checking examples…
Graph intent should be inspectable.
The query anatomy separates node roots, scalar predicates, traversal direction, edge types, targets, temporal context and limits. The inspector then shows which translation stages and parameters are involved.
Every custom query can become a permalink.
Use Share query to encode the editor state in the URL. The SQL panel always identifies whether the displayed query used GORM WebAssembly or the illustrative JavaScript fallback.
The UI depends on one translator contract.
The playground shell owns editor state and sharing. The runtime owns translation and rendering. The bounded GORM WebAssembly runtime implements metadata plus an async-compatible translate(query) function, while the example contracts continuously verify the documented behavior.
window.GormPlaygroundEngine = {
metadata: {
id: "gorm-runtime",
label: "GORM runtime",
version: "1.0.0",
authoritative: true,
execution: "sandboxed .NET"
},
translate: async query => ({ ok, sql, notes, model })
};