justtrackio / gosoline

Gosoline is our framework which fuels all of our Golang applications
MIT License
93 stars 50 forks source link

fixtures: on disabled fixtures, the middleware will do nothing now #1165

Closed j4k4 closed 1 week ago

j4k4 commented 1 week ago

Currently, fixture loaders will get created, even if the fixture loading is disabled in the config.\ In certain scenarios this could cause issues.\ To improve it, this PR ensures, that the fixture loading middleware does nothing if disabled.