facai
facai copied to clipboard
Factories for fun and profit. 恭喜發財!
This is a breaking change, we are still in alpha after all, and I think this is worth it. I'll do my best to explain my reasoning. Up to now...
Consider a typical foreign key relationship between two tables like this: ```sql --Database tables: create table child ( child_id varchar(40) not null primary key, description varchar(200) ); create table parent...
This doesn't seem to work at the moment. ```clj (defactory customer-session {:state :OPEN} :traits {:redeemed {:with {:item_subsidies [{:sku rand-code}] :items [{:sku rand-code}]} :rules (let [?sku (facai/unify)] {[:item_subsidies :sku] ?sku [:items...
Part of my vision with Facai is to have a system of CSS-like selectors, to be able to specify certain things at a higher, more expressive level. I've had a...
# Problem statement I would like to reference other traits and set field data conditionally within traits. # Background / Examples In another fixture-replacement library `factory_bot`, traits are defined using...