Closed evetion closed 2 years ago
The only drawback is that we cannot restore the Enum once the value has been written.
I think that's reasonable? At most they'll have to restore it themselves, like
julia> ArchGDAL.OGRFieldType(Int64(ArchGDAL.OFTInteger64))==ArchGDAL.OFTInteger64
true
True, but I wanted to mention it explicitly.
As a table with an Vector{<:Enum} now can't be written. Enum stores the flags as Integer, so we already have the means to write its values. The only drawback is that we cannot restore the Enum once the value has been written.