Skip to content

Always use `attribute` to define the product

Lin Jen-Shin requested to merge 51826-single-product-defintion-qa into master

What does this MR do?

The idea is that we define the attributes on the factory, and make them lazily loaded. The factory is free to use them, and so is the product. The product will just load everything from the factory.

This eliminate the difference between factory and product. The product is now just a delegation to the factory, without having fabricate! and other methods.

TODO:

What are the relevant issue numbers?

This will also solve gitlab-qa#235 (closed)

Does this MR meet the acceptance criteria?

Closes #51826 (closed), gitlab-qa#235 (closed)

Edited by Lin Jen-Shin

Merge request reports