jonataslaw / getx

Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
MIT License
10.42k stars 1.63k forks source link

Disable generic type recognition option. #3236

Open ddxl123 opened 1 month ago

ddxl123 commented 1 month ago

example:

Get.put(GeneralFragmentInAppStagePageLogic<TFFragmentContentDynamicState, TFFragmentContent>());

// when "<TFFragmentContentDynamicState, TFFragmentContent>" is unknown
Get.delete<GeneralFragmentInAppStagePageLogic>();

Get.put(GeneralFragmentInAppStagePageLogic<TFFragmentContentDynamicState, TFFragmentContent>());

but:

[GETX] Instance "GeneralFragmentInAppStagePageLogic<TFFragmentContentDynamicState, TFFragmentContent>" has been created
[GETX] Instance "GeneralFragmentInAppStagePageLogic<TFFragmentContentDynamicState, TFFragmentContent>" has been initialized

[GETX] Instance "GeneralFragmentInAppStagePageLogic<DynamicState, BaseFragmentContent<DynamicState>>" already removed.

[GETX] Instance "GeneralFragmentInAppStagePageLogic<TFFragmentContentDynamicState, TFFragmentContent>" has been created
[GETX] Instance "GeneralFragmentInAppStagePageLogic<TFFragmentContentDynamicState, TFFragmentContent>" has been initialized
TFFragmentContentDynamicState extent DynamicState
TFFragmentContent extent BaseFragmentContent<TFFragmentContentDynamicState >