diff --git a/query/graphql/parser/doc.go b/query/graphql/parser/doc.go new file mode 100644 index 0000000000..2abd5660fd --- /dev/null +++ b/query/graphql/parser/doc.go @@ -0,0 +1,21 @@ +// Copyright 2022 Democratized Data Foundation +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + +/* +Package parser provides a structured proxy to the underlying +GraphQL AST and parser. Additionally it evaluates the parsed +filter conditions on a document. + +Given an already parsed GraphQL ast.Document, this package +can further parse the document into the DefraDB GraphQL +Query structure, representing, Select statements, fields, +filters, arguments, directives, etc. +*/ +package parser diff --git a/query/graphql/parser/parser.go b/query/graphql/parser/parser.go index 6fa5f03928..32b9b8bcf3 100644 --- a/query/graphql/parser/parser.go +++ b/query/graphql/parser/parser.go @@ -8,16 +8,6 @@ // by the Apache License, Version 2.0, included in the file // licenses/APL.txt. -/* -Package parser provides a structured proxy to the underlying -GraphQL AST and parser. Additionally it evaluates the parsed -filter conditions on a document. - -Given an already parsed GraphQL ast.Document, this package -can further parse the document into the DefraDB GraphQL -Query structure, representing, Select statements, fields, -filters, arguments, directives, etc. -*/ package parser import (