Skip to content

Add support for mongoDb id's + make collection to lowercase work#56

Open
stuk88 wants to merge 16 commits into
bredikhin:masterfrom
stuk88:master
Open

Add support for mongoDb id's + make collection to lowercase work#56
stuk88 wants to merge 16 commits into
bredikhin:masterfrom
stuk88:master

Conversation

@stuk88

@stuk88 stuk88 commented Aug 16, 2017

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread index.js Outdated
if (err)
return nextItem(err);

if(!model)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Space missing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

what space?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Space after if. It's really not a big deal, but let's stay consistent.

Comment thread index.js Outdated
else {
for (var j = 0; j < item[attr].length; j++) {
model[attr].add(that.idMap[joined][item[attr][j]-1]);
var idx = that.idMap[joined].indexOf(item[attr][j]);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Indentation, please.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Comment thread package.json Outdated
{
"name": "barrels",
"version": "1.6.5",
"version": "1.6.7",

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Why are you skipping a version? 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

made changes twice, so upped the version twice. downgraded the version on my code now, so it will be upped only once on your side.

stuk88 added 7 commits August 27, 2017 04:16
Assosiations functions update + Populate function update to use find function, and add a checkes for array of ids have related objects, and not fail.
switching to !isNaN
@stuk88

stuk88 commented Sep 10, 2017

Copy link
Copy Markdown
Contributor Author

All Updated. Ready to pull.

@stuk88 stuk88 changed the title Add support for mongoDb id's Add support for mongoDb id's + make collection to lowercase work Feb 14, 2018
@stuk88

stuk88 commented Mar 5, 2018

Copy link
Copy Markdown
Contributor Author

Any update?

@bredikhin

Copy link
Copy Markdown
Owner

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.

2 participants