Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve Service and AdapterService types #1567

Merged
merged 2 commits into from
Oct 10, 2019

Conversation

vonagam
Copy link
Member

@vonagam vonagam commented Sep 19, 2019

  1. Type multi usages of create/update/patch/remove in ServiceMethods, ServiceOverloads and AdapterService.

  2. Remove this patch() overload from ServiceOverloads. It does not do anything really.

  3. In AdapterService removed Promise<T> as possible result of find() method, since no adapter does that (or am i wrong?). Small breaking change, super easily fixed by removing T | from types of adapters in _find methods.

@daffl daffl changed the title feat: improve Service and AdapterService types fix: improve Service and AdapterService types Oct 10, 2019
@daffl daffl merged commit baad6a2 into feathersjs:master Oct 10, 2019
@vonagam vonagam deleted the feat-improve-service-type branch October 11, 2019 02:40
daffl pushed a commit that referenced this pull request Apr 11, 2020
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.

2 participants