hunk.code_window:         actionDefinitionToOrdJSON :: ActionDefinitionInput -> AO.Value
           actionDefinitionToOrdJSON (ActionDefinition args outputType kind headers frwrdClientHdrs handler) =
             AO.object $ [ ("kind", AO.toOrdered kind)
                         , ("handler", AO.toOrdered handler)
                         , ("arguments", AO.array $ map argDefinitionToOrdJSON args)
                         , ("output_type", AO.toOrdered outputType)
                         ]
             <> [("forward_client_headers", AO.toOrdered frwrdClientHdrs) | frwrdClientHdrs]
             <> catMaybes [ listToMaybeOrdPair "headers" AO.toOrdered headers
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.file_path: server/src-lib/Hasura/RQL/DDL/Metadata/Types.hs
hunk.type: replace
file: description: Query data from account as a user who is an admin
  url: /v1/graphql
  status: 200
  headers:
    X-Hasura-Role: user
    X-Hasura-User-Id: '2'
  response:
    data:
      account:
      - id: 1
        account_no: 1
      - id: 2
        account_no: 2
  query:
    query: |
      query {
        account{
          id
          account_no
        }
      }
  