userId requires the WorkflowContext to have the session info. This is not clean as some components like WorkflowCompiler should not have dependencies with user session.
Usages of userId
There are only few usages related to WorkflowContext.userId. Most of these usages are redundant.
As userId was used for resolving user files, which is replaced by dataset now. It does not depend on or cause dependency of session.
This PR removes
userId
fromWorkflowContext
.Purpose of the removal
userId
requires the WorkflowContext to have the session info. This is not clean as some components like WorkflowCompiler should not have dependencies with user session.Usages of userId
There are only few usages related to
WorkflowContext.userId
. Most of these usages are redundant.As userId was used for resolving user files, which is replaced by dataset now. It does not depend on or cause dependency of session.