Skip to content
This repository was archived by the owner on Mar 22, 2022. It is now read-only.

fixes several issues with update-entity w/ test cases #531

Conversation

jerfowler
Copy link
Contributor

Fixes #529

√ gracefully handles unauthenticated connections
√ updates the passed-in entity when the idField is an ObjectID
√ socket entity should "deep equal" passed-in entity

@jerfowler jerfowler mentioned this pull request Jun 21, 2017
@@ -89,13 +89,14 @@
"jshint": "^2.9.3",
"localstorage-memory": "^1.0.2",
"mocha": "^3.0.2",
"mongodb": "^2.2.29",
Copy link
Member

Choose a reason for hiding this comment

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

Is this necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Used to generate an ObjectID from a string value. I probably could stub-out similar functionality, though.

Copy link
Member

Choose a reason for hiding this comment

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

Nah. I'm happy with this. Thanks!

@marshallswain
Copy link
Member

Oh thank you! I was going to work on this today, but you just saved my schedule. One comment about the MongoDB version number and I'll merge this.

@marshallswain marshallswain merged commit 0d8bbfa into feathersjs-ecosystem:master Jun 21, 2017
@jerfowler jerfowler deleted the update-socket-entity-fixes branch June 21, 2017 17:15
@ekryski
Copy link
Member

ekryski commented Jun 21, 2017

Yeah nice fixes. Thanks @jerfowler!

@marshallswain
Copy link
Member

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants