aiondemand / aiondemand/AIOD-rest-api

Remove 'Enum' Endpoints

Open
#605 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Enum endpoints were introduced to make it easy to see possible (user-supplied) values. But I do not think this is useful anymore. For fields that have restricted values, we employ Taxonomies now, which guarantee that user values adhere to certain terms. On the other hand, if there is no such restriction, then this enum doesn't make much sense. It is merely a (premature) optimization to normalize string data. We will keep that under the hood (in the interest of prioritizing other things) but no longer expose this complexity to users.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.