Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
THRIFT-4497: Use
map()
field type for Erlang type for map struct fi…
…elds. Client: erl The Thrift Erlang code generator previously generated fields with the `#{}` Erlang type for maps fields. In the Erlang type specification languages, however, `#{}` specifically means an empty map. This commit fixes the code to emit `map()` instead, which means the maps keys and values may be of any type. It would be possible to emit a field type such as `${keytype() => maptype()}`, but this commit does not do that. This closes apache#1495
- Loading branch information