Ecodev / natural

Angular Material components and various utilities

Home Page:https://ecodev.github.io/natural

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove `NaturalAbstractModelService.mutate()`

PowerKiKi opened this issue · comments

It seems this is unused in most (all?) our projects and does not seem to have much value. It should probably be removed entirely after triple-checking all our projects.

AbstraModelService standardizes CRUD operations, but in some cases, we need custom mutation with added value.

It's the case for ichtus where BookingService terminates booking with specific mutation on specific api entry point. This do more than just update the object fields (like flag some other fields based on consolidated server side logic).

I guess it's a required function, unless you have some alternative to suggest ?