Check whether FactoryData
and subclasses can be eliminated
#976
Labels
code quality
Code readability or structure is improved
As another successive issue of #969, there might be a way to eliminate
FactoryData
and all its subclasses (EntityData
etc.) by creatingAssetInput
s and similar entities directly.To make this work, the new constructors in the form of
AssetInputEntityData(EntityData entityData, OperatorInput operator)
(but of course adapted forAssetInput
s) could be used to iteratively create Inputs from the simplestUniqueEntity
to the desired input type.A side effect of this would be that error messages would be easier to create, since there is no way of ensuring that a
FactoryData
also includes UUID and id.The text was updated successfully, but these errors were encountered: