Skip to content

Commit 55311b1

Browse files
authored
Merge pull request graphql-go#656 from victor-perov/victor/expose-ParseValue
Expose ParseValue
2 parents 09272f3 + 2ce8c8b commit 55311b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

language/parser/parser.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ func Parse(p ParseParams) (*ast.Document, error) {
7979
return doc, nil
8080
}
8181

82-
// TODO: test and expose parseValue as a public
83-
func parseValue(p ParseParams) (ast.Value, error) {
82+
// ParseValue parses params and returns ast value
83+
func ParseValue(p ParseParams) (ast.Value, error) {
8484
var value ast.Value
8585
var sourceObj *source.Source
8686
switch src := p.Source.(type) {

0 commit comments

Comments
 (0)