opral / inlang-message-sdk

0 stars 0 forks source link

Limit query.messages.getAll() events when multiple messages change #72

Closed martin-lysk closed 4 weeks ago

martin-lysk commented 1 month ago

Context

A sub sequential load of the messages after the initial load of the projects produces a signal per updated messages.

Proposal

Batch message updates in loadViaPlugin and produce a signal at the very end of the load process.

jldec commented 1 month ago

@martin-lysk why is this change necessary? Is there a use case which will be improved, or issue fixed?

martin-lysk commented 1 month ago

compare discription in related pr and discussion in related issue https://github.com/opral/inlang-message-sdk/issues/71#issuecomment-2133254408