3a272385
webhooks: add query validation function
The new function tests a query against a GraphQL schema and returns any validation errors if they are found. This is useful for determining if a GraphQL query will pass validation when creating a new webhook.
Drew DeVault <sir@cmpwn.com> — 2021-08-18 09:40:34 UTC
Commit 3a272385626b6accfbb9a46b473ad1ff6e7642d3 —
view raw patch
Parent(s):
f500157c
| File | Status | + | − |
|---|---|---|---|
webhooks/context.go
|
M | +22 |