graveyard v0.6.1 Graveyard.Mappings.Auxiliar View Source

Link to this section Summary

Functions

Traverses recursively the configured mappings map for :oblists objects. For every oblist found, the :category and :list fields inside are extracted and turn into an object. Then a special auxiliar field with this object is added to the mappings. This is done to make easier the grouping process under nested fields

Link to this section Functions

Link to this function build_auxiliar_mappings(config \\ Support.mappings()) View Source

Traverses recursively the configured mappings map for :oblists objects. For every oblist found, the :category and :list fields inside are extracted and turn into an object. Then a special auxiliar field with this object is added to the mappings. This is done to make easier the grouping process under nested fields

Link to this function extract_category_list_keys(key, schema, accumulator) View Source
Link to this function find_fields_with_schema(mmap \\ Support.mappings(), parent_key \\ "", accumulator \\ []) View Source