You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We often have the case where we have some object from the cache/cluster and some "computed" form of that same object (for the sake of comparing and determining whether changes need to be applied to the cluster).
In a few places we've made type aliases i.e. type ComputedFoo Foo so that it's clear at the type level where a given object is coming from. It might be nice to have a generic annotation, i.e foo = Computed[Foo] that we can use. We may be able to use this to enforce good practice (i.e. anything passed to a write should be a Computed type, etc).
The text was updated successfully, but these errors were encountered:
We often have the case where we have some object from the cache/cluster and some "computed" form of that same object (for the sake of comparing and determining whether changes need to be applied to the cluster).
In a few places we've made type aliases i.e.
type ComputedFoo Foo
so that it's clear at the type level where a given object is coming from. It might be nice to have a generic annotation, i.efoo = Computed[Foo]
that we can use. We may be able to use this to enforce good practice (i.e. anything passed to awrite
should be aComputed
type, etc).The text was updated successfully, but these errors were encountered: