Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Use internal methods instead of service methods directly#13

Merged
daffl merged 1 commit intomasterfeathersjs-ecosystem/feathers-sequelize:masterfrom
internal-methodsfeathersjs-ecosystem/feathers-sequelize:internal-methodsCopy head branch name to clipboard
Jan 30, 2016
Merged

Use internal methods instead of service methods directly#13
daffl merged 1 commit intomasterfeathersjs-ecosystem/feathers-sequelize:masterfrom
internal-methodsfeathersjs-ecosystem/feathers-sequelize:internal-methodsCopy head branch name to clipboard

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.

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

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

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.