-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nil pointer dereference when an invalid import is bound to a mod…
…el (#1676) * Fixes remaining Name field in singlefile test * Fixes nill pointer dereference when an invalid import is bound to a model * Only return error if we failed to find type * Revert "Fixes remaining Name field in singlefile test" This reverts commit e43ebf7. * Undo change of log.Println -> fmt.Println Totally accidental, sorry! Co-authored-by: Giuliano Oliveira <giuliano.programador@gmail.com>
- Loading branch information
1 parent
6c65e8f
commit 87f9e43
Showing
4 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
schema: | ||
- "testdata/schema.graphql" | ||
|
||
models: | ||
Resolver: | ||
model: github.com/99designs/invalid/invalid/invalid/nope.Resolver |