This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
(impact:high) [WidgetObject] internalFactory can be confusing #370
Labels
enhancement
New feature or request
Prerequisites
[Check these off before submitting an issue].
For more information, see the
CONTRIBUTING
guide.Description
WidgetObject#internalFactory
has caused confusion for developers. This causes a different way to interact with components depending on whether you're inside a WidgetObject or you're with a test (stepdef or unit test). To avoid this confusion, we should always exposeWidgetObjectElement
s and callers can callunwrap()
on their own if they want to use theT
functionality that is specific to the testing framework being used.This also avoids having a private and a public version of a method where the only difference is that the public one calls unwrap().
Impact
This is a breaking change, but we're the only users of this feature and I will update our internal vcd_ui app when this is finished.
The text was updated successfully, but these errors were encountered: