Skip to content

BmobQuery中使用泛型传递表名出错 #16

@zz-fortune

Description

@zz-fortune
我的环境如下
• Flutter version 1.7.8+hotfix.4 at C:\some_explore\flutter
• Framework revision 20e59316b8 (5 weeks ago), 2019-07-18 20:04:33 -0700
• Engine revision fee001c93f
• Dart version 2.4.0

T.toString() 的结果是 BmobUser
T.runtimeType.toString() 的结果是 _Type
T is BmobUser 与 T.runtimeType is BmobUser 的结果均为 false

导致无法得到正确的表名 _User

建议修改表名传递

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions