Open siddiquipro opened 6 years ago
I think you can do this via: https://loopback.io/doc/en/lb3/Adding-application-logic.html . But i can't figure out how that worked with OData.
If you do so, please write me back!
@mohammadsiddiqui Basically, what you need is not related to OData component. This is about how loopback's Models work.
I think you need to use "before create" or "persist" operation hooks. There you can do all the needed data manipulations.
While creating entity i want to add some business logic and also want to create related entities, Where can i update them ?
@htammen please help as it is important