graasp / graasp/graasp-api

Use DB's enum

Open
#1,496 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Database can provide native enums to set defined values in a column. Might be useful for permissions, types, ....

-------

For this, it matches the DB type but actually we should maybe have it as an enum ? Not to change now, but would have been better typed for the db I think.

_Originally posted by @spaenleh in https://github.com/graasp/graasp/pull/1490#discussion_r1793586475_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.