| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@daffl: I'm stuck with the error. The service OAuthService in @feathersjs/authentication-oauth does not follow the common service definition. OAuthService['find'] returns Promise<GrantResponse>. It has to follow the common service definition, which should be Promise<Paginated<R> | R[]>. That is what the current error is about. How to continue?
|
Sorry, something went wrong.
|
I'm not sure if we can add the pagination options to the main interface - I believe that's the error that is happening since any service interface implementor now expects the pagination overloads to be implement. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The ReturnType of ServiceMethods['find'] was Promise<Result | Result[]>. The correct way is Promise<Paginated<Result> | Result[]>.
I also added it to ServiceOverloads.