samagra-comms / uci-apis

Unified Communications Interface (UCI) is a system that powers governments to create and manage conversations with citizens and with its own officials. Through UCI governments can seamlessly setup simple and complex conversations using a multi-channel approach. UCI aims to democratize the use of different communication channels such as WhatsApp, Telegram, SMS, email for governance use cases through a standard configurable manner that is reusable and scalable across all governance use cases.
12 stars 30 forks source link

Update Edit Api #136

Closed geeky-abhishek closed 1 year ago

geeky-abhishek commented 1 year ago

Currently, Edit Api completely overrides the original object which should be updated to upsert query to update only the passed values.

chinmoy12c commented 1 year ago

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 1 year ago

The transaction layer also needs to provide an endpoint for invalidating the cache.

geeky-abhishek commented 1 year ago

PR to be raised by @chinmoy12c today

karntrehan commented 1 year ago

Merged to develop. To be deployed.