{"modulePath":"github.com/the-dev-tools/dev-tools/packages/server","version":"v0.0.0-20261108121446-820be1ff163d","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ngraphql\n\n## Types\n\n```go\ntype NodeGraphQL struct {\n\tFlowNodeID idwrap.IDWrap\n\tName       string\n\n\tGraphQL      mgraphql.GraphQL\n\tHeaders      []mgraphql.GraphQLHeader\n\tAsserts      []mgraphql.GraphQLAssert\n\tHttpClient   httpclient.HttpClient\n\tSideRespChan chan NodeGraphQLSideResp\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New(\n\tid idwrap.IDWrap,\n\tname string,\n\tgql mgraphql.GraphQL,\n\theaders []mgraphql.GraphQLHeader,\n\tasserts []mgraphql.GraphQLAssert,\n\thttpClient httpclient.HttpClient,\n\tsideRespChan chan NodeGraphQLSideResp,\n\tlogger *slog.Logger,\n) *NodeGraphQL\n```\n\n```go\nfunc (n *NodeGraphQL) GetID() idwrap.IDWrap\n```\n\n```go\nfunc (n *NodeGraphQL) GetName() string\n```\n\n```go\nfunc (n *NodeGraphQL) GetOutputVariables() []string\n```\nGetOutputVariables implements node.VariableIntrospector.\n\n```go\nfunc (n *NodeGraphQL) GetRequiredVariables() []string\n```\nGetRequiredVariables implements node.VariableIntrospector.\n\n```go\nfunc (n *NodeGraphQL) RunAsync(ctx context.Context, req *node.FlowNodeRequest, resultChan chan node.FlowNodeResult)\n```\n\n```go\nfunc (n *NodeGraphQL) RunSync(ctx context.Context, req *node.FlowNodeRequest) node.FlowNodeResult\n```\n\n```go\nfunc (n *NodeGraphQL) SetID(id idwrap.IDWrap)\n```\n\n```go\ntype NodeGraphQLSideResp struct {\n\tExecutionID idwrap.IDWrap\n\tGraphQL     mgraphql.GraphQL\n\tHeaders     []mgraphql.GraphQLHeader\n\tResponse    mgraphql.GraphQLResponse\n\tRespHeaders []mgraphql.GraphQLResponseHeader\n\tRespAsserts []mgraphql.GraphQLResponseAssert\n\tDone        chan struct{}\n}\n```\n\n","path":"github.com/the-dev-tools/dev-tools/packages/server/pkg/flow/node/ngraphql","name":"ngraphql","synopsis":"","isRedistributable":true}
