allow interface{} as a scalar

This commit is contained in:
Ben Kraft
2021-04-15 11:50:52 -07:00
parent a5fe0943bd
commit ddf4b03350
6 changed files with 49 additions and 1 deletions
+1
View File
@@ -74,6 +74,7 @@ func TestGenerate(t *testing.T) {
Scalars: map[string]string{
"ID": "github.com/me/mypkg.ID",
"DateTime": "time.Time",
"Junk": "interface{}",
},
})
if err != nil {