eXpansionPluginPack / eXpansion2

The next generation server controller for maniaplanet using symfony components
http://mp-expansion.com/
MIT License
7 stars 3 forks source link

I should be able to configure a DataProvider to work for a specific title #312

Closed oliverde8 closed 6 years ago

oliverde8 commented 6 years ago

Origin of the issue

Today even throught the parameter name is titlewe are using the game (TM or SM).

This is due to the fact that declaring a provider for each TM title pack was to cumbersome; so we transformed the titles into game.

This is okay, but we should have title as well.

Proposition

I propose that we should first check and see if we can find a provider for the title, if we can't then we get for the game. It's already what we do just need to add a new case.