Skip to content
  • Lin Jen-Shin's avatar
    Always use `attribute` to define the product · 08522414
    Lin Jen-Shin authored
    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.
    08522414