orion-server icon indicating copy to clipboard operation
orion-server copied to clipboard

use string enum instead of int

Open cendhu opened this issue 3 years ago • 0 comments

For read and write privileges, we use 0 and 1, respectively. This is not readable in the JSON output. Hence, we should use a string-based enum to make it expressive in the output.

Similarly, for the validation info, we use int rather than a string.

cendhu avatar Jul 07 '21 14:07 cendhu