Skip to content
New issue

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

Add buildOptions support to buildSync #82

Merged

Conversation

ejlangev
Copy link

@ejlangev ejlangev commented Nov 4, 2016

Seemed arbitrary that it didn't support it. Initially was trying to chase down a bug affecting ObjectAdapter and buildOptions from version 3.1 but seems to be fixed in the latest master.

@ejlangev
Copy link
Author

@aexmachina what do you think?

@@ -339,6 +339,9 @@ Be aware that `assoc()` is an async function, so it can't be used with `buildSyn

```javascript
var doc = factory.buildSync('post', {title: 'Foo'});

// or with buildOptions
var doc = factory.buildSync('post', { title: 'Foo' }, { veryLong: true });
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code formatting is inconsistent with the line above.

@simonexmachina simonexmachina merged commit 1e688ab into simonexmachina:master Nov 14, 2016
@simonexmachina
Copy link
Owner

Thanks. However this version is out of date now - v4 is in beta now and should be considered the current version. @chetanism and I are just finding it hard to get it finished and released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants