Closed klihub closed 2 years ago
Those gojsonschema and related packages are often considered problematic because they do not seem to be actively maintained.
Even without that concern it is better to not pull in additional dependencies that aren't needed. For example, compilation becomes faster.
@saschagrunert: thanks. Is there a chance to get this into a tagged release soon(ish)?
@kolyshkin PTAL
@giuseppe @mrunalp PTAL
@saschagrunert @rhatdan what is still required to get these changes merged?
Split out those few capability validation functions (
LastCap()
,CapValid()
) whichGenerator
depends on into avalidate/capabilities
subpackage of their own. This should preventgithub.com/xeipuuv/gojson*
from sneaking in to the dependencies of anyone who usesGenerator
forOCI Spec
manipulation.Those
gojsonschema
and related packages are often considered problematic because they do not seem to be actively maintained. At the time of this commit they received their last updates in 2018, 2019 and 2020. Excluding them from the dependency blast radius can lower the barrier for accepting/allowing import of generate.Generator.