-
-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow middleware hooks to return objects that contained field names t…
…hat contain dotted strings (#1130) * Cleanup: ensure db.folks update hook is removed after unit test completes * Do not extract nested paths from the object keys contained in middleware hook return values Fixes #966 * Additional test for #1130 * Nit: trailing space * Post-merge fixup * Add explicit check for keys as literal property names on objects before intepreting them as paths * Alternative approach: push logic down into setByKeyPath function * Revert "Alternative approach: push logic down into setByKeyPath function" This reverts commit d610245. Co-authored-by: dfahlander <david.fahlander@gmail.com>
- Loading branch information
1 parent
b88f66f
commit b2335f9
Showing
2 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
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
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