Map-A-Droid / MAD

Map PoGo stuff with Android devices
210 stars 135 forks source link

Rework database wrapper #547

Open DrMurx opened 4 years ago

DrMurx commented 4 years ago

The current database access is a historically grown monster structure. It lacks separation of concerns, is a mix of data provider, mapper/converter and other parts of the business logic that don't belong here.

Dropping monocle support opened the door for some refactoring. This would include the following steps:

This is a meta issue to track and discuss the progress.

sn0opy commented 4 years ago

Related/affected: #539

DrMurx commented 4 years ago

Related/affected: #539

Related, but luckily almost not affected. The API for the MAD config already uses some kind of dedicated unified data provider.

Expl0dingBanana commented 4 years ago

These changes have been merged into #539, f620b6c

DrMurx commented 4 years ago

@Expl0dingBanana Only the first patch ;) more to come.

Expl0dingBanana commented 4 years ago

@DrMurx Do you still need this enhancement open?

DrMurx commented 4 years ago

@Expl0dingBanana Absolutely. I'll go forward with that as soon as my spare time allows.