Make test ID type actually exist
This way I can start to test that the code compiles.
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@ package test
|
||||
|
||||
import (
|
||||
"github.com/Khan/genqlient/graphql"
|
||||
"github.com/me/mypkg"
|
||||
"github.com/Khan/genqlient/internal/testutil"
|
||||
)
|
||||
|
||||
// SimpleQueryResponse is returned by SimpleQuery on success.
|
||||
@@ -24,7 +24,7 @@ type SimpleQueryUser struct {
|
||||
// id is the user's ID.
|
||||
//
|
||||
// It is stable, unique, and opaque, like all good IDs.
|
||||
Id mypkg.ID `json:"id"`
|
||||
Id testutil.ID `json:"id"`
|
||||
}
|
||||
|
||||
func SimpleQuery(
|
||||
|
||||
Reference in New Issue
Block a user