KafkaMessageBus v4.2.5 KafkaMessageBus.Messages.MessageData.MapUtil View Source
A set of map utility functions utilized by the message validation.
Link to this section Summary
Functions
This function is used to convert the stuct definition of message data to a map which is needed for changeset validation.
This function is used to facilitate the definition of message data type's new/1 (factory) functions.
Default function returns an error.
Link to this section Functions
Link to this function
deep_from_struct(struct) View Source
This function is used to convert the stuct definition of message data to a map which is needed for changeset validation.
Link to this function
deep_to_struct(struct, message_data) View Source
This function is used to facilitate the definition of message data type's new/1 (factory) functions.
Link to this function
safe_get(map, field_name) View Source
Default function returns an error.