Open yeesian opened 2 years ago
See e.g. https://discourse.julialang.org/t/style-recommendation-for-enum-as-type/46078/5 and https://www.juliabloggers.com/julia-dispatching-enum-versus-type/ for a discussion.
This is helpful for e.g. dispatching on OGRFIELDTYPE in https://github.com/yeesian/ArchGDAL.jl/blob/8f820c77c790d6166f03f17f145a4ffe474933de/src/ogr/feature.jl#L390-L413
OGRFIELDTYPE
See e.g. https://discourse.julialang.org/t/style-recommendation-for-enum-as-type/46078/5 and https://www.juliabloggers.com/julia-dispatching-enum-versus-type/ for a discussion.
This is helpful for e.g. dispatching on
OGRFIELDTYPE
in https://github.com/yeesian/ArchGDAL.jl/blob/8f820c77c790d6166f03f17f145a4ffe474933de/src/ogr/feature.jl#L390-L413