add support for custom scalars -- mainly adding proper import machinery

This commit is contained in:
Ben Kraft
2021-04-08 13:07:31 -07:00
parent e68787ad35
commit b4e8316c6a
31 changed files with 283 additions and 89 deletions
+3 -2
View File
@@ -4,11 +4,12 @@ package test
import (
"github.com/Khan/genqlient/graphql"
"github.com/me/mypkg"
)
type SimpleMutationCreateUser struct {
Id string `json:"id"`
Name string `json:"name"`
Id mypkg.ID `json:"id"`
Name string `json:"name"`
}
type SimpleMutationResponse struct {