module Hathor::NestedCollectionMacro
Direct including types
Defined in:
macros/nested_collection.crMacro Summary
-
nested_collection(collection_name, **options, &block)
collection macro * it populates the PROPERTIES hash * creates property name : Array(type | Nil) - Nil only if nilable
-
nested_collection!(name, **options, &block)
shortcut for "nilable: false" option
Macro Detail
macro nested_collection(collection_name, **options, &block)
#
collection macro
- it populates the PROPERTIES hash
- creates property name : Array(type | Nil) - Nil only if nilable