Dmitry Vibe

Results 17 comments of Dmitry Vibe

> Is this an issue in practice? Yes. Sorry for the translator, but I can not translate better. I use tcomb-validation for server response, null is fine on the server...

Until found such way to: ```js arg2 instanceof Predicate || arg2 instanceof AnyPredicate ``` This is probably enough.

1. It is not always possible to refuse null. For example, I check the server response and GraphQL really likes to send null. My server developer are unlikely to be...

Sorry for my english and my persistence. Why not use the following syntax instead of `any`: ```js ow.number.or.string; ``` ? This allows you not to break your fingers once again...

In [omyumyum](https://github.com/Riim/omyumyum#readme) i use `.custom()` to transfer priority to `.or`. For example, an object may contain either a field `age` or field `birthday`: ```js om.object.shape({ name: om.string }).and.custom( om.object.shape({ age:...

> предшествуют какие-то изменения в интерфейсе, индикатор, ошибки валидации и т.д. А put получается навязывает подход, когда мы это все делаем не прямо, а опосредованно после вызова set. в put...

Да, синхронизация c мастер-ячейками или внешним хранилищем значения [1](https://github.com/Riim/cellx#synchronization-of-value-with-synchronous-storage), [2](https://github.com/Riim/cellx#synchronization-of-value-with-asynchronous-storage). Для чего-то другого применять нет смысла.

В синхронном режиме изменения не схлопываются, `d` зависит от `c` и `c._pendingStatusCell`, после второго `push` оба меняются и дважды происходит перерасчёт и обновление `d`.

> подскажи где ее тут влепить просто обернуть второй `push` в `cellx.transact`.

А что должен делать `pend`?