We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given the following factory...
Replicator.define('membership', { meta: Replicator.embed('membershipMeta', {coveredMembership: true}) } and Replicator.define('membershipMeta', { reg_fee: {editable: true} } .trait('coveredMembership', { reg_fee: {editable: false} }
If you do something like...
var membershipFactory = Replicator.makeFactory('membership'); membershipFactory({coveredMembership: true}); // membership.meta.reg_fee.editable === false; membershipFactory({coveredMembership: true}); // membership.meta.reg_fee.edtiable === true;
I would expect them both to return the same thing when run twice.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given the following factory...
If you do something like...
I would expect them both to return the same thing when run twice.
The text was updated successfully, but these errors were encountered: