It seems that the fork command doesn't check whether copying a namespace will result in unnamed dependencies in the current project.
A specific example that I ran into is when running fork /my-branch-1:JobContext.UserHandle JobContext.UserHandle. It copied over the JobContext.UserHandle namespace but not the JobContext.UserHandle type. So now all of the references to the UserHandle type show up in namespace.dependencies.
There's also a question of whether fork should just copy over the type that matches the name of forked namespace.
It seems that the
fork
command doesn't check whether copying a namespace will result in unnamed dependencies in the current project.A specific example that I ran into is when running
fork /my-branch-1:JobContext.UserHandle JobContext.UserHandle
. It copied over theJobContext.UserHandle
namespace but not theJobContext.UserHandle
type. So now all of the references to theUserHandle
type show up innamespace.dependencies
.There's also a question of whether
fork
should just copy over the type that matches the name of forked namespace.