Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Enum instead of IntEnum in BBs #429

Open
tinsaye opened this issue Jan 4, 2023 · 0 comments
Open

Use Enum instead of IntEnum in BBs #429

tinsaye opened this issue Jan 4, 2023 · 0 comments
Assignees
Projects

Comments

@tinsaye
Copy link
Collaborator

tinsaye commented Jan 4, 2023

When using IntEnums. The values are automatically converted to an int while JSON encoding. This by itself is not a problem, but it makes it difficult when looking / querying results from the MongoDB since they are less human readably than the concrete names.

For example, for FDMode the name mode=ID is more obvious than just mode=0.

@tinsaye tinsaye self-assigned this Jan 4, 2023
@tinsaye tinsaye added this to Backlog in LID-DS 2021 Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant