Skip to content

Make SupabaseQueryBuilder generic #186

Closed
@programmador

Description

@programmador

PostgrestQueryBuilder is generic while it's descendant SupabaseQueryBuilder is not.
As a consequence the only available result type is dynamic while actually under the hood it's predominately List<Map<dynamic>> or even List<Map<String,dynamic>> which could be determined while debugging (though I have no idea what _JsonMap is).

Could it be implemented as generic? Moreover there is postgrest-dart 0.2 where PostgrestQueryBuilder is a descendant of Future (which is also generic).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpostgrestThis issue or pull request is related to postgrest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions