-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Milestone
Description
There are many places where a provider/model sets the various API endpoint paths. Each places concatenates the path and uses things like ltrim()
. It's redundant and opens up for simple mistakes. It would be great to have an AbstractApiProvider
class (and likely a corresponding provider interface) that is aware of a base URL and has an AbstractApiProvider::url($path)
counterpart, which cleans this up.
Metadata
Metadata
Assignees
Labels
[Type] EnhancementA suggestion for improvement.A suggestion for improvement.