Rename the query constant to have an underscore in it. (#241)
We got reports of conflicts with the old constant-name and symbols that people were defining in their app.
This commit is contained in:
+2
-2
@@ -231,7 +231,7 @@ func (v *__PointersQueryInput) GetDt() time.Time { return v.Dt }
|
||||
func (v *__PointersQueryInput) GetTz() *string { return v.Tz }
|
||||
|
||||
// The query or mutation executed by PointersQuery.
|
||||
const PointersQueryOperation = `
|
||||
const PointersQuery_Operation = `
|
||||
query PointersQuery ($query: UserQueryInput, $dt: DateTime, $tz: String) {
|
||||
user(query: $query) {
|
||||
id
|
||||
@@ -255,7 +255,7 @@ func PointersQuery(
|
||||
) (*PointersQueryResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "PointersQuery",
|
||||
Query: PointersQueryOperation,
|
||||
Query: PointersQuery_Operation,
|
||||
Variables: &__PointersQueryInput{
|
||||
Query: query,
|
||||
Dt: dt,
|
||||
|
||||
Reference in New Issue
Block a user