We should traverse the dependency tree to determine what licenses we have deeply for any given package.
This can either be done up front and stored as a top level field, or it can be its own endpoint which does it through traversal and caches the result.
The result would be something like licenses: ["MIT", "GPL 2"] with all observed licenses.
We should traverse the dependency tree to determine what licenses we have deeply for any given package.
This can either be done up front and stored as a top level field, or it can be its own endpoint which does it through traversal and caches the result.
The result would be something like
licenses: ["MIT", "GPL 2"]with all observed licenses.