big overhaul of error-formatting, to get positions more consistently
fixes #2
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
query-spec does not match schema: testdata/errors/InvalidQuery.go:2: Cannot query field "g" on type "Query". Did you mean "f"?
|
||||
testdata/errors/InvalidQuery.go:4: query-spec does not match schema: Cannot query field "g" on type "Query". Did you mean "f"?
|
||||
+1
-1
@@ -1 +1 @@
|
||||
query-spec does not match schema: testdata/errors/InvalidQuery.graphql:1: Cannot query field "g" on type "Query". Did you mean "f"?
|
||||
testdata/errors/InvalidQuery.graphql:1: query-spec does not match schema: Cannot query field "g" on type "Query". Did you mean "f"?
|
||||
+1
-1
@@ -1 +1 @@
|
||||
invalid schema file testdata/errors/InvalidSchema.schema.graphql: testdata/errors/InvalidSchema.schema.graphql:4: Expected :, found }
|
||||
testdata/errors/InvalidSchema.schema.graphql:4: invalid schema file testdata/errors/InvalidSchema.schema.graphql: Expected :, found }
|
||||
+1
-1
@@ -1 +1 @@
|
||||
invalid schema file testdata/errors/InvalidSchema.schema.graphql: testdata/errors/InvalidSchema.schema.graphql:4: Expected :, found }
|
||||
testdata/errors/InvalidSchema.schema.graphql:4: invalid schema file testdata/errors/InvalidSchema.schema.graphql: Expected :, found }
|
||||
+1
-1
@@ -1 +1 @@
|
||||
no queries found in [testdata/errors/NoQuery.go]
|
||||
no queries found, looked in: testdata/errors/NoQuery.go
|
||||
+1
-1
@@ -1 +1 @@
|
||||
no queries found in [testdata/errors/NoQuery.graphql]
|
||||
no queries found, looked in: testdata/errors/NoQuery.graphql
|
||||
+1
-1
@@ -1 +1 @@
|
||||
unknown scalar UnknownScalar: please add it to genqlient.yaml
|
||||
testdata/errors/UnknownScalar.schema.graphql:3: unknown scalar UnknownScalar: please add it to genqlient.yaml
|
||||
+1
-1
@@ -1 +1 @@
|
||||
unknown scalar UnknownScalar: please add it to genqlient.yaml
|
||||
testdata/errors/UnknownScalar.schema.graphql:3: unknown scalar UnknownScalar: please add it to genqlient.yaml
|
||||
Reference in New Issue
Block a user