ergo / ziggurat_foundations

Framework agnostic set of sqlalchemy classes that make building applications that require permissions an easy task.
BSD 3-Clause "New" or "Revised" License
71 stars 22 forks source link

Warning "all => service" but no service available #67

Closed fmigneault closed 5 years ago

fmigneault commented 5 years ago

When calling BaseModel.all(), we receive a deprecation warning asking to use the corresponding service, but many model types don't have such service. I'm thinking about UserGroupMixin for instance, but there could be other. Other services should be implemented, or adjust the warning accordingly.

ergo commented 5 years ago

Hey, BaseService has all() method.

fmigneault commented 5 years ago

Great! Thanks