You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't a bug, but rather a feature request. Would it be reasonable to publish a json schema for the configuration to support IDE integration? If one exists, maybe document that better, because for the life of me I couldn't find it. This is still an awesome project regardless.
Mockery Version
2.50.0
Go Version
1.23.2
Installation Method
Binary Distribution
Docker
brew
go install
Other: [specify]
The text was updated successfully, but these errors were encountered:
I haven't published a schema but I have thought about it and I think it would be a great idea! I won't have time to look into it for a while but I'd appreciate if anyone wanted to tackle that.
I haven't published a schema but I have thought about it and I think it would be a great idea! I won't have time to look into it for a while but I'd appreciate if anyone wanted to tackle that.
Usually I'd be all in, but I've worked with Go for a few weeks at this point, and I'm not sure the schema I'd create would be accurate. Json tags make perfect sense to me, but for the life of me I'm not quite sure what exactly that mapstructure package is actually doing.
Unfortunately mapstructure was needed after I made a poor decision of using viper for configuration parsing. As you'll see, the config parsing is a complete mess and I hope to make it more sane in v3, which is under active development.
Description
This isn't a bug, but rather a feature request. Would it be reasonable to publish a json schema for the configuration to support IDE integration? If one exists, maybe document that better, because for the life of me I couldn't find it. This is still an awesome project regardless.
Mockery Version
2.50.0
Go Version
1.23.2
Installation Method
The text was updated successfully, but these errors were encountered: