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

fix: improve Service and AdapterService types#1567

Merged
daffl merged 2 commits intofeathersjs:masterfeathersjs/feathers:masterfrom
vonagam:feat-improve-service-typevonagam/feathers:feat-improve-service-typeCopy head branch name to clipboard
Oct 10, 2019
Merged

fix: improve Service and AdapterService types#1567
daffl merged 2 commits intofeathersjs:masterfeathersjs/feathers:masterfrom
vonagam:feat-improve-service-typevonagam/feathers:feat-improve-service-typeCopy head branch name to clipboard

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.

@vonagam vonagam force-pushed the feat-improve-service-type branch from d247ea8 to 0822c38 Compare September 19, 2019 17:28
@vonagam vonagam force-pushed the feat-improve-service-type branch from 0822c38 to 7453c41 Compare September 21, 2019 19:48
@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

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