-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
BREAKING CHANGEThis will cause a breaking changeThis will cause a breaking change
Description
With the changes in b447938 the only thing file_attribute does is specify the type for you. Because I would prefer being able to define any type for an attribute this feels like a special case we shouldn't handle.
avram/src/avram/define_attribute.cr
Lines 91 to 97 in b447938
| macro file_attribute(key) | |
| {% unless key.is_a?(SymbolLiteral) %} | |
| {% raise "file_attribute must be declared with a Symbol" %} | |
| {% end %} | |
| attribute {{ key.id }} : Avram::Uploadable | |
| end |
Metadata
Metadata
Assignees
Labels
BREAKING CHANGEThis will cause a breaking changeThis will cause a breaking change