In internal/pkg/options we offer a set of tools to help validate sessions. The name of the package, 'options', doesn't fit its responsibility very well, which can contribute to unnecessary confusion while reading through the code.
Solution
Separated out from some other cleanups, rename the options package to validators, and adjust any references to it.
Notes
Other pertinent information. Examples: a walkthrough of how the solution might work, why this solution is optimal compared to other possible solutions, or further TODOs beyond this PR.
Problem
In
internal/pkg/options
we offer a set of tools to help validate sessions. The name of the package, 'options', doesn't fit its responsibility very well, which can contribute to unnecessary confusion while reading through the code.Solution
Separated out from some other cleanups, rename the
options
package tovalidators
, and adjust any references to it.Notes
Other pertinent information. Examples: a walkthrough of how the solution might work, why this solution is optimal compared to other possible solutions, or further TODOs beyond this PR.