From b6271b678e035a5cbf62d637364f3eeca0890171 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Wed, 23 Jul 2025 15:58:06 +0200 Subject: feat(haskell): injection for morpheus-graphql-client quasiquotes --- runtime/queries/haskell/injections.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/runtime/queries/haskell/injections.scm b/runtime/queries/haskell/injections.scm index 98a396e5e..b4d92aa30 100644 --- a/runtime/queries/haskell/injections.scm +++ b/runtime/queries/haskell/injections.scm @@ -83,3 +83,14 @@ (#any-of? @_name "pymain" "pye" "py_" "pyf") (quasiquote_body) @injection.content (#set! injection.language "python")) + +; ----------------------------------------------------------------------------- +; GraphQL +; morpheus-graphql-client +(_ + function: (apply + function: (variable) @_name) + argument: (quasiquote + body: (quasiquote_body) @injection.content) + (#set! injection.language "graphql") + (#eq? @_name "declareLocalTypesInline")) -- cgit v1.2.3-70-g09d2