module Hathor::NestedContractMacro

Direct including types

Defined in:

macros/nested_contract.cr

Macro Summary

Macro Detail

macro nested_contract(type_declaration, **options) #

nested_contract macro allows to define properties of type of other contracts Technically its a hybrid of nested and field macro. Its the same as nested, but doesnt need an inline class.


[View source]
macro nested_contract!(type_declaration, **options) #

shortcut for "nilable: false" option


[View source]