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
Data classes are bad for library binary compatibility (see Jake's blog post). The only data class in our core public API is WorkflowTestParams (and some diagnostic stuff, but that's going to remain unstable even in 1.0).
UI data classes are another matter.
The text was updated successfully, but these errors were encountered:
Turns out there are almost no data classes in our public API – really just WorkflowTestParams.
zach-klippenstein
changed the title
Data classes break binary compatibility – should we remove them from our public API?
Make WorkflowTestParams not a data class, or figure out how to remove it entirely
Jun 13, 2020
zach-klippenstein
changed the title
Make WorkflowTestParams not a data class, or figure out how to remove it entirely
Either remove data classes, or make them not data classes
Jun 13, 2020
The only such data classes were `WorkflowTestParams` and `RenderingAndSnapshot`.
The former has no need to be a data class, as it's just passed as configuration
to the test function, and the latter is effectively just an alias for `Pair` and
the shape is fundamental to the workflow runtime design so it won't change.
There are still some data classes in the UI modules, but #55 will mark all those
as `ExperimentalWorkflowApi` before releasing 1.0.0.
Fixes#57.
Data classes are bad for library binary compatibility (see Jake's blog post). The only data class in our core public API is
WorkflowTestParams
(and some diagnostic stuff, but that's going to remain unstable even in 1.0).UI data classes are another matter.
The text was updated successfully, but these errors were encountered: