You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding test for Buzzard provider API.
Refactoring mixin/plugin to be a separate function, allowing input parameters to swap depending on Feathers version.
feathers-swagger
uses the Auk & prior signature to create a new provider:Usage:
https://github.com/feathersjs-ecosystem/feathers-swagger/blob/master/src/index.js#L76
Reference in Auk:
https://github.com/feathersjs/feathers/blob/3756f99af7680b6e9e77b70d6e2f46efba1a6839/src/application.js#L49
This breaks in Buzzard, due to the swapping of
path
andservice
:Reference in Buzzard:
https://github.com/feathersjs/feathers/blob/d4688ca9874b242a9b453caddf117af27f8a0b01/lib/application.js#L115
A fix is to just swap the two parameters, however, I'm unsure how the Feathers team is handling 2.0 -> 3.0 breaking changes.
The text was updated successfully, but these errors were encountered: