hunk.code_window:   -> m HasuraApp
   mkWaiApp setupHook env logger sqlGenCtx enableAL httpManager mode corsCfg enableConsole consoleAssetsDir
            enableTelemetry instanceId apis lqOpts _ {- planCacheOptions -} responseErrorsConfig
            liveQueryHook schemaCacheRef ekgStore enableRSPermsCtx functionPermsCtx connectionOptions keepAliveDelay
            maintenanceMode experimentalFeatures = do
       let getSchemaCache = first lastBuiltSchemaCache <$> readIORef (_scrCache schemaCacheRef)
       let corsPolicy = mkDefaultCorsPolicy corsCfg
           postPollHook = fromMaybe (EL.defaultLiveQueryPostPollHook logger) liveQueryHook
  
hunk.labels: keep keep keep replace replace keep keep keep keep keep
hunk.after_edit:          liveQueryHook schemaCacheRef ekgStore serverMetrics enableRSPermsCtx functionPermsCtx
            connectionOptions keepAliveDelay maintenanceMode experimentalFeatures = do
  
hunk.file_path: server/src-lib/Hasura/Server/App.hs
hunk.type: replace
file: - description: Select `ltree` paths matching an `lquery` regex
    url: /v1/graphql
    status: 200
    response:
      data:
        tree:
          - path: "Tree.Science.Astronomy"
          - path: "Tree.Science.Astronomy.Astrophysics"
          - path: "Tree.Science.Astronomy.Cosmology"
          - path: "Tree.Collections.Pictures.Astronomy"
          - path: "Tree.Collections.Pictures.Astronomy.Stars"
          - path: "Tree.Collections.Pictures.Astronomy.Galaxies"
          - path: "Tree.Collections.Pictures.Astronomy.Astronauts"
    query:
      query: |
        query {
          tree (
            where: {path: {_matches: "*.Astronomy.*"}}
          ) {
            path
          }
        }
  
  - description: Select `ltree` paths matching an invalid `lquery` regex
    url: /v1/graphql
    status: 200
    response:
      errors:
      - extensions:
          path: $.query
          code: validation-failed
        message: not a valid graphql query
    query:
      query: |
        query {
          tree (
            where: {path: {_matches: "*.Astronomy.*\"}}
          ) {
            path
          }
        }
  