Skip to content

[pigeon] remove runtime type/nullability checks in deserialization in all generators #116972

@tarrinneal

Description

@tarrinneal

Currently there are some sporadic runtime checks for type and nullability that are only verifying that the generated code has the correct types.

This slows down client performance slightly and shouldn't be needed as pigeon should be verified to provide typing correctly before publishing.

As mentioned here flutter/packages#2745 (comment)

/cc @stuartmorgan

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: pigeonrelated to pigeon messaging codegen toolpackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions