djangoflow / list_bloc

BLoC management of simple, filtered, sorted and paged lists.
3 stars 10 forks source link

openapi_repository and openapi_repository_annotations package implementation #11

Closed adar2378 closed 2 years ago

adar2378 commented 2 years ago

Some of the paths are currently set to local path for list_bloc and flutter_list_bloc which will need to be pointed towards pub.dev before release

And there is a problem with json_serialization package being able to make BuiltList serializable. It can be a problem if we need to use BuiltList type of field in the Filter Classes as an We have a solution which is to generate JsonConverter for each types that are being used in the endpoints as input params.

For example for BuiltList<String> we can implement something like BuiltListStringTypeConverter, BuiltList<AnotherObject> -> BuiltListAnotherObjectTypeConverter. I've tried to implement something generic but could not find anyway to do it. The converter requires an specific type to work with a specific type of BuiltList object.

@ajilo297 is looking at it. Or we could generate Converter for each types.