Skip to content

Target Category Constant#352

Merged
bencap merged 3 commits intorelease-2024.4.2from
feature/bencap/35/api-like-target-category-constant
Nov 12, 2024
Merged

Target Category Constant#352
bencap merged 3 commits intorelease-2024.4.2from
feature/bencap/35/api-like-target-category-constant

Conversation

@bencap
Copy link
Copy Markdown
Collaborator

@bencap bencap commented Nov 4, 2024

No description provided.

@bencap bencap added type: enhancement Enhancement to an existing feature app: backend Task implementation touches the backend app: database Task implementation requires database changes labels Nov 4, 2024
@bencap bencap requested review from jstone-dev and sallybg November 4, 2024 19:40
@bencap bencap linked an issue Nov 4, 2024 that may be closed by this pull request
@bencap bencap force-pushed the feature/bencap/35/api-like-target-category-constant branch from 522a695 to 5809ba4 Compare November 4, 2024 20:35
Copy link
Copy Markdown
Collaborator

@jstone-dev jstone-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I wondered at first if we really want to use custom types in the database, but on second thought it seemed like a good idea in this case to ensure correctness.

@bencap
Copy link
Copy Markdown
Collaborator Author

bencap commented Nov 12, 2024

Yeah, I was kinda torn too. I think where I fall is that I like the enums for fields that are their own database column. It's also nice to have them to take advantage of some built in pydantic validation on enum types.

@bencap bencap merged commit e8e1c48 into release-2024.4.2 Nov 12, 2024
@bencap bencap deleted the feature/bencap/35/api-like-target-category-constant branch November 12, 2024 21:33
@bencap bencap mentioned this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: backend Task implementation touches the backend app: database Task implementation requires database changes type: enhancement Enhancement to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Target sequence categories

2 participants