Hello,
I am trying to integrate your Gantt component and mapping our DB data to be compatible to your TaskModel class.
The idea is that the data is received from the server through saga into a reducer. Afterwards, I have tried extending the TaskModel class to add new necessary fields and map the API data to the new created model, but I am also required to mapp all the other 150 fields, which is very tiresome.
Is there a best practice on how to do that? Getting an array of Tasks data from the API through the reducer and then mapping it to TaskModel, but adding new fields?
In our application we use Functional Components and typescript.
Thank you so much, I am awaiting your answer.