ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 14 forks source link

Use Enum instead of string / number values #572

Closed ssomnath closed 1 year ago

ssomnath commented 3 years ago

For things like dependency types, consider using Enum instead of manually changing the mode to 0, 1, 2, etc.

dvstans commented 3 years ago

This ticket is too vague to be actionable. Please re-write as separate tickets for specific instances where enums should be used. Protobuf already defines enums when needed; however, dependency type is a special case and cannot be an enum as it needs to be expandable (a short string referencing an relationship definition).

dvstans commented 1 year ago

This isn't really actionable. Closing.