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

Use internal methods instead of service methods directly #13

Merged
merged 1 commit into from
Jan 30, 2016

Conversation

daffl
Copy link
Member

@daffl daffl commented Jan 30, 2016

This is for feathersjs/feathers#218. Basically, if an adapter uses its own service methods internally (like doing a get after removing an item) they can't be the original service methods (like get, create, find etc.) directly since those can be modified by Feathers with mixins and hooks and we do not want those to run in that case. The solution is to provide internal _patch, _create, _find etc. methods that can be used instead.

@marshallswain
Copy link
Member

Now I get it. 🎉

daffl added a commit that referenced this pull request Jan 30, 2016
Use internal methods instead of service methods directly
@daffl daffl merged commit f5b0fa2 into master Jan 30, 2016
@daffl daffl deleted the internal-methods branch January 30, 2016 17:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants