add support for custom scalars -- mainly adding proper import machinery
This commit is contained in:
+2
-1
@@ -4,6 +4,7 @@ package test
|
||||
|
||||
import (
|
||||
"github.com/Khan/genqlient/graphql"
|
||||
"github.com/me/mypkg"
|
||||
)
|
||||
|
||||
type SimpleInputQueryResponse struct {
|
||||
@@ -11,7 +12,7 @@ type SimpleInputQueryResponse struct {
|
||||
}
|
||||
|
||||
type SimpleInputQueryUser struct {
|
||||
Id string `json:"id"`
|
||||
Id mypkg.ID `json:"id"`
|
||||
}
|
||||
|
||||
func SimpleInputQuery(
|
||||
|
||||
Reference in New Issue
Block a user