hunk.code_window:     annDefM <- withPathK "defaultValue" $
                  mapM (validateInputValue constValueParser ty) defM'
       let inpValM = Map.lookup var inpVals
       annInpValM <- withPathK "variableValues" $
                     mapM (validateInputValue jsonParser ty) inpValM
       let varValM = annInpValM <|> annDefM
       onNothing varValM $ throwVE $
         "expecting a value for non-nullable variable: " <>
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:     annInpValM <- withPathK (G.unName $ G.unVariable var) $
  
hunk.file_path: server/src-lib/Hasura/GraphQL/Validate.hs
hunk.type: replace
file: description: Upserts article data via GraphQL mutation
  url: /v1alpha1/graphql
  status: 200
  query:
    query: |
      mutation insert_article {
        insert_article (
          objects: [
            {
              content: "Updated Article 1 content",
              id: 1
            },
            {
              content: "Updated Article 2 content",
              id: 2
            }
            ],
          on_conflict: {
            constraint: article_pkey,
            action: update
          }
        ) {
          returning {
            title
            content
            }
          }
        }
  