Update Edit Api
Closed this issue · 4 comments
geeky-abhishek commented
Currently, Edit Api completely overrides the original object which should be updated to upsert query to update only the passed values.
chinmoy12c commented
What will be the implication of this on the transaction layer? Since bots are cached on the transaction layer, when an update in a bot occurs the cache will need to be validated both on UCI-API and the transaction layer services, or it will introduce inconsistencies.
geeky-abhishek commented
The transaction layer also needs to provide an endpoint for invalidating the cache.
geeky-abhishek commented
PR to be raised by @chinmoy12c today
karntrehan commented
Merged to develop. To be deployed.