Attribute validations
damianfarina opened this issue · comments
Damián Farina commented
Hi Kostyantyn, did you ever thought about adding some kind of validations to an attribute?
Kostiantyn Stepaniuk commented
Yes, I am planning to add them. Validations will be stored in hydra_attributes table like other meta-information and the API will be the following:
Product.hydra_attributes.create(name: '...', presence: true)
Damián Farina commented
Great! Let me know if you need a hand, I'll be glad to help