MapSchema.Types (map_schema v0.2.7) View Source
MapSchema.Types
Link to this section Summary
Functions
Take the custom_types map of schema and try find the type, if dont found the module (is_nil) then search the type in default types.
Take a type of data and returns a tuple {testing_value, testing_result}
with the example values
that we used in doctest.
The field of schema can save flexible content, if the user say that it use a :map, :list, or any custom type. In this cases we wont check the type of data.
Link to this section Functions
Take the custom_types map of schema and try find the type, if dont found the module (is_nil) then search the type in default types.
The default types always can be rewrite
Take a type of data and returns a tuple {testing_value, testing_result}
with the example values
that we used in doctest.
The field of schema can save flexible content, if the user say that it use a :map, :list, or any custom type. In this cases we wont check the type of data.