rafaqz / Interfaces.jl

Macros to define and implement interfaces, to ensure they are checked and correct.
MIT License
72 stars 4 forks source link

Allow defining components outside of the `@interface` macro #20

Closed gdalle closed 9 months ago

gdalle commented 9 months ago

For really big interfaces it would be nice to define the named tuple of conditions separately, and then use a syntax like

@interface components docstring 

or even

@interface mandatory optional docstring

That would allow breaking each one into smaller pieces