thrift_runtime_names (thrift_runtime v0.7.0)

View Source

The runtime's mirror of the generator's identifier derivation: a wire struct name becomes the snake-cased tag (InvoiceBankAccount -> invoice_bank_account) the runtime reaches for when a descriptor target declares no record tag of its own — map-mode __struct__ tags and hand-written descriptor targets.

Summary

Functions

Lowers a CamelCase/Snake/mixed identifier to snake_case.

Functions

snake(Name)

-spec snake(binary()) -> binary().

Lowers a CamelCase/Snake/mixed identifier to snake_case.