-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix(db) allow plugins on empty services (#4312)
Before this change, assigning a plugin to an empty service (with no routes) would result in an “no compatible routes found in service” error. That is considered a breaking change (for things like automatic setups) and has been altered now: when a plugin is assigned to a service, and the service has no routes, then there will be no error. The error will still be raised when the service has at least one route, but none of its routes are compatible.
- Loading branch information
Showing
2 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters