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
After running the build_runner this results in a type error in the generated class ParentTest implements OpenApiContent in the file *.api.openapi.dart
The type error from my IDE reads as follows: The argument type 'Iterable<MapEntry<String, dynamic>>' can't be assigned to the parameter type 'Iterable<MapEntry<String, Object>>'
I have a schema Parent.yml as follows:
After running the build_runner this results in a type error in the generated
class ParentTest implements OpenApiContent
in the file *.api.openapi.dartThe type error from my IDE reads as follows: The argument type 'Iterable<MapEntry<String, dynamic>>' can't be assigned to the parameter type 'Iterable<MapEntry<String, Object>>'
This can be solved by changing the type of
_additionalProperties
toMap<String, dynamic>
The text was updated successfully, but these errors were encountered: