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
{{ message }}
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
The argument type 'Fragment1UserMixin' can't be assigned to the parameter type 'Fragment2aUserMixin'.
The argument type 'Fragment1UserMixin' can't be assigned to the parameter type 'Fragment2bUserMixin'.
From the Home to Fragment1 widgets I see I'm able to pass Home$Query$User to the Fragment1UserMixin type, but I can't pass the others. I could probably just cast to the child mixin types, but that prevents static analysis on the values I'm passing in.
Am I missing something?
The text was updated successfully, but these errors were encountered:
Look at how the code is generated.
As far as I understand- it’s mostly relates to how dart type system work.
Maybe you’ll be able to find suitable approach
If I have a query and fragments like below
When I try to pass the props to their child widgets inside the
Fragment1
Widget:I get the following errors:
From the Home to Fragment1 widgets I see I'm able to pass
Home$Query$User
to theFragment1UserMixin
type, but I can't pass the others. I could probably just cast to the child mixin types, but that prevents static analysis on the values I'm passing in.Am I missing something?
The text was updated successfully, but these errors were encountered: