Closed hesxenon closed 1 year ago
StringEnum
does exist.
In F#, the Attribute
suffix is optional on the caller side.
For example, this is why you can write both:
[<RequiredQualifiedAccess>]
module A =
[<RequiredQualifiedAccessAttribute>]
module B =
Good to know, but then why would StringEnum
throw an error but StringEnumAttribute
does not?
After running dotnet build
both options work :thinking:
Probably a cache problem or something not restored properly for your IDE/Fable.
I think
StringEnum
doesn't exist anymore?StringEnumAttribute
seems to be correct now