validator icon indicating copy to clipboard operation
validator copied to clipboard

Proposal. validator linter

Open TelpeNight opened this issue 3 months ago • 1 comments

Hi. Short proposal. Our team had hard time while migrating from v10.14 to newer versions, as 10.15 had some breaking changes. Now we are thinking, that it would be nice to have specialized linter, that will check, that struct tags have compatible type so it will never panic on runtime. It would be much better to catch it on linting time.

Maybe we will dedicate time to this, or some developer will be interested in this idea. I think it will be beneficial for everyone.

TelpeNight avatar Sep 25 '25 11:09 TelpeNight

Sorry to hear that your team had a difficult time migrating from v10.14.

We do our best to maintain backward compatibility with each release, and we always recommend staying up to date and upgrading packages as early as possible.

Your idea about a specialized linter to catch incompatible struct tag types sounds great - catching these issues at lint time would definitely help prevent runtime panics. It could be a valuable addition to the ecosystem.

nodivbyzero avatar Nov 15 '25 17:11 nodivbyzero