Rather than using an enum for ProductId (or product tag), we should consult configuration (swatch-product-configuration) to validate the constructed value. A factory method on ProductId should use configuration to validate the value is one of the acceptable values according to configuration.
- is blocked by
-
SWATCH-1230 Implement swatch-product-configuration lookup methods
-
- Closed
-
1.
|
Remove productId enum from api spec |
|
Closed | |
Unassigned |
2.
|
Remove productId enum from event schema |
|
Closed | |
Unassigned |