Make test ID type actually exist

This way I can start to test that the code compiles.
This commit is contained in:
Ben Kraft
2021-06-03 11:36:45 -07:00
parent c2e7dc4e5b
commit 3c11f07e62
17 changed files with 84 additions and 81 deletions
+1 -1
View File
@@ -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{}",