Skip to content

Remove type conversions #1

@yin

Description

@yin

User can do type-conversion directly after fetching flag value. This feature added bulk of hard-to-test code, which is likely not to be reused nor maintained in future.

    String userID = arg_user.get();
    User user = UserResolver.find(userID);

Custom flag type were avoided by gflags. All parsing should be done after fetching the string value in the client code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions