In some environments, working with enun instances as string values may lead to some validation errors. See this discord discussion.
This PR reviews how metadata settings classes are defined, and defines type directly as a literal string, in the same way we do fo questions or fields, instead of using the MetadataPropertyType class.
Type of change
Bug fix (non-breaking change which fixes an issue)
Refactor (change restructuring the codebase without changing functionality)
How Has This Been Tested
Checklist
I added relevant documentation
I followed the style guidelines of this project
I did a self-review of my code
I made corresponding changes to the documentation
I confirm My changes generate no new warnings
I have added tests that prove my fix is effective or that my feature works
Description
In some environments, working with enun instances as string values may lead to some validation errors. See this discord discussion.
This PR reviews how metadata settings classes are defined, and defines type directly as a literal string, in the same way we do fo questions or fields, instead of using the MetadataPropertyType class.
Type of change
How Has This Been Tested
Checklist