Make test ID type actually exist
This way I can start to test that the code compiles.
This commit is contained in:
@@ -98,7 +98,7 @@ func TestGenerate(t *testing.T) {
|
||||
Generated: goFilename,
|
||||
ExportOperations: queriesFilename,
|
||||
Scalars: map[string]string{
|
||||
"ID": "github.com/me/mypkg.ID",
|
||||
"ID": "github.com/Khan/genqlient/internal/testutil.ID",
|
||||
"DateTime": "time.Time",
|
||||
"Junk": "interface{}",
|
||||
"ComplexJunk": "[]map[string]*[]*map[string]interface{}",
|
||||
|
||||
Reference in New Issue
Block a user