Skip to content

Commit

Permalink
Replace string based type comparisons with recursive types.Type check
Browse files Browse the repository at this point in the history
  • Loading branch information
vektah committed Jan 9, 2019
1 parent 1d86f98 commit 87b37b0
Show file tree
Hide file tree
Showing 5 changed files with 349 additions and 154 deletions.
2 changes: 1 addition & 1 deletion codegen/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func Generate(cfg *config.Config) error {
return errors.Wrap(err, "generating models failed")
}

// Create a new schema now that the generated models have been injected into the typemap
// Merge again now that the generated models have been injected into the typemap
schema, err = unified.NewSchema(schema.Config)
if err != nil {
return errors.Wrap(err, "merging failed")
Expand Down
Loading

0 comments on commit 87b37b0

Please sign in to comment.