hex logo Hex
Packages Pricing Docs
Log In
Packages Pricing Docs Log In
Packages

map_schema

0.2.7
0.3.0 0.2.7 0.2.6 0.2.2 0.1.0

Simple, agile, map schema in elixir with type checking, custom types with casting and validation and with json encoding

HexDocs

Current section

Files

Jump to
Readme
5 Versions
1 Dependency
Dependants
Files
Activity
Readme 5 Versions 1 Dependency Dependants Files Activity
map_schema lib skeleton utils utils.ex
Raw

44 files

  • lib
    • example
      • custom_type_lang.ex
      • custom_type_list_people.ex
      • employee.ex
      • item.ex
      • person.ex
      • testing.ex
    • skeleton
      • macros
        • atomize_mode.ex
        • base.ex
        • check.ex
        • custom_types.ex
        • define_type.ex
        • gets.ex
        • json_encoding.ex
        • muts_types.ex
        • prop_methods.ex
        • put_partial.ex
        • puts_types.ex
      • methods
        • gets.ex
        • put_partial_types.ex
        • puts.ex
      • types
        • default
          • any.ex
          • bool.ex
          • boolean.ex
          • float.ex
          • integer.ex
          • list.ex
          • map.ex
          • string.ex
          • string_to_float.ex
          • string_to_integer.ex
        • custom_type.ex
        • default.ex
        • types.ex
        • types_config.ex
      • utils
        • atomize.ex
        • deftype.ex
        • exceptions.ex
        • exu_string.ex
        • schema_validator.ex
        • utils.ex
    • map_schema.ex
  • LICENSE
  • README.md
  • mix.exs

    No matching files

    Package files

      No matching files

      lib/skeleton/utils/utils.ex

      defmodule MapSchema.Utils do
      @moduledoc false
      @doc """
      The module have the utils functions.
      Take list of fields and build a full name.
      """
      def get_field_name(lista_fields) do
      lista_fields |> Enum.join("_")
      end
      end
      hex logo Hex
      About Blog Sponsors Status Advisories
      Documentation FAQ Specifications Report Client Issue Report General Issue Report Security Issue Contact Support
      Code of Conduct Terms of Service Privacy Policy Copyright Policy Dispute Policy

      Copyright 2015. Six Colors AB.

      Powered by the Erlang VM and the Elixir Programming Language

      Search filters

      Type any of these into the search box. They can be combined with free text which searches package names and descriptions.

      Operator Description Example
      name: Match package name. Supports * wildcards and repo/package form name:phx* or name:hexpm/phoenix
      description: Full-text search of package descriptions description:auth
      depends: Packages depending on a given package. Supports repo:package form depends:ecto or depends:hexpm:ecto
      build_tool: Filter by build tool build_tool:mix
      updated_after: Packages updated after an ISO8601 datetime updated_after:2025-01-01T00:00:00Z
      extra: Match custom metadata (key,value). Nested keys are separated by commas extra:license,MIT

      Wrap values in double quotes to include spaces, e.g. name:"my package".