Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thrift: Improve handling of enums #37

Merged
merged 1 commit into from
May 25, 2016
Merged

thrift: Improve handling of enums #37

merged 1 commit into from
May 25, 2016

Commits on May 25, 2016

  1. thrift: Improve handling of enums

    When an enum value is received over the wire, it is formatted using the
    name. If a name is not found, it is formatted as EnumType(%d)
    
    Enums can be specified as:
    - int32
    - Case-insentivie name
    - EnumType(%d)
    
    The last format is so that formatted unknown enums on the result path
    can be used as input.
    prashantv committed May 25, 2016
    Configuration menu
    Copy the full SHA
    a73c1e0 View commit details
    Browse the repository at this point in the history