Skip to content
This repository has been archived by the owner on Jan 18, 2018. It is now read-only.

Use internal methods instead of service methods directly #4

Merged
merged 1 commit into from
Jan 31, 2016

Conversation

daffl
Copy link
Member

@daffl daffl commented Jan 31, 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.

For this adapter we now provide an internal _get (also see #7), _find (that ignores pagination), _patch (for user with update) and _getOrFind (for patch and remove many).

daffl added a commit that referenced this pull request Jan 31, 2016
Use internal methods instead of service methods directly
@daffl daffl merged commit df2703d into master Jan 31, 2016
@daffl daffl deleted the internal-methods branch January 31, 2016 03:55
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.

1 participant