Skip to content

Commit

Permalink
fix(generator): support nil returns when using interface typed params
Browse files Browse the repository at this point in the history
As referenced on #513
Types using generic typed interface params, should allow nil values on return
  • Loading branch information
jfragosoperez committed Nov 13, 2024
1 parent 057cf5e commit ba9924e
Show file tree
Hide file tree
Showing 14 changed files with 267 additions and 98 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 49 additions & 2 deletions mocks/github.com/vektra/mockery/v2/pkg/fixtures/Example.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 15 additions & 9 deletions mocks/github.com/vektra/mockery/v2/pkg/fixtures/ReplaceGeneric.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ba9924e

Please sign in to comment.