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 QueryWithAliasResponse struct {
|
||||
@@ -11,7 +12,7 @@ type QueryWithAliasResponse struct {
|
||||
}
|
||||
|
||||
type QueryWithAliasUser struct {
|
||||
ID string
|
||||
ID mypkg.ID
|
||||
}
|
||||
|
||||
func QueryWithAlias(
|
||||
|
||||
Reference in New Issue
Block a user