-
Notifications
You must be signed in to change notification settings - Fork 73
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
Docs update #101
Open
officialkevinbrian
wants to merge
46
commits into
BlinkUX:docs-patch
Choose a base branch
from
officialkevinbrian:docs_update
base: docs-patch
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Docs update #101
officialkevinbrian
wants to merge
46
commits into
BlinkUX:docs-patch
from
officialkevinbrian:docs_update
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix Getting Started Code Error
Implement Sequelize#authenticate
Fix misspelling
Also tweaked the documentation it generates just a bit
In prep for a v0.9.1 release
Add FindAndCountAll method and add tests
Also tweaked changelog entry for that
Used for imports to get the relative file locations
Adds Import Functionality
Stack looks like it is a getter which is where `prepareStackTrace` is actually called. Order matters for getting that and resetting the `prepareStackTrace` function. TODO: Test has been converted to a bit more of a integration test than unit test to make sure we get coverage of this. Unit test code remains in place but commented out and if/when we get an integration or end-to-end test suite, we should transfer this test over to one of those suites and uncomment the unit test code here.
Missed array access in the call to lookup the filename for the relative file paths. Fix test as well. Fixes BlinkUX#35
We need to return the object used to store the datatypes, otherwise sequelizeInstance.import is broken.
Adding an editorconfig so things are normalized a bit during editing and we don't get a bunch of whitespace changes
Create .editorconfig
Add editorconfig override for files needing spaces
Fix some issues with Sequelize compatibility
Add support for mocking .addScope()
Add getDataValue and setDataValue on instance
BlinkUX#36: Adding ES6 style module support
I have updated the documentation of this error, that too many people were complaining User.$useHandler(function(query, queryOptions, done) { if (query === 'findOne') { if (queryOptions[0].where.id === 42) { // Result found, return it return User.build({ id: 42, name: 'foo' }); } else { // No results return null; } } });
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have updated and fixed documentation error of this part
User.$useHandler(function(query, queryOptions, done) {
if (query === 'findOne') {
if (queryOptions[0].where.id === 42) {
// Result found, return it
return User.build({ id: 42, name: 'foo' });
} else {
// No results
return null;
}
}
});