Landon Clipp

Results 164 comments of Landon Clipp

This functionality is given for free when using the `packages` feature. You can specify the exact interfaces you want mocked. We _don't_ have the ability to do something like: ```yaml...

I dived into seeing if this is feasible, but it appears not. The `gotypelias` flag in Go 1.22 only applies to the `go/types` API. See [initial proposal](https://github.com/golang/go/issues/63223#issuecomment-1814145317). However the compiler...

Some additional clarity on where this issue lies. I discovered the `gopackages` tool that allows you to briefly inspect the syntax of a particular package. You see that when we...

Mockery can mock plain functions. What's your config? I wouldn't say this is unexpected.

Semantically speaking, mockery is doing the correct thing as functions are capable of being mocked. However the issue is the use of an unexported struct as you mentioned. From mockery's...

> where do I find this in the docs? https://vektra.github.io/mockery/latest/examples/#function-type-case This is feature was made shortly after I took over the project but I feel like it was an unnecessary...

Can you provide the contents of your config file?

We don't have an established pattern for vendored deps. I really want to fix this for you but I don't have an answer at the moment. If someone could chime...

Hey, thanks for the PR! This parameter would be potentially misleading because you might have multiple interfaces within a single file. People have asked this before and I mention it...

I've thought about this a bit more and in order to help you migrate to the new config, I think we can go ahead with it. My main concern is...