Skip to content

refactor: use ids for ProblemType serialization instead of enum names#44

Merged
Elscrux merged 2 commits intodocs/endpoint-documentationfrom
refactor/problem-type-serialization
Sep 13, 2023
Merged

refactor: use ids for ProblemType serialization instead of enum names#44
Elscrux merged 2 commits intodocs/endpoint-documentationfrom
refactor/problem-type-serialization

Conversation

@schweikart
Copy link
Copy Markdown
Member

This PR makes sure that ProblemTypes are identified through their id attribute instead of their enum name. This decouples the names of our Java constants from the actual problem type identifiers.

@schweikart schweikart added the type: refactor Improvements to code quality label Sep 10, 2023
@Elscrux Elscrux changed the base branch from develop to docs/endpoint-documentation September 11, 2023 13:38
@Elscrux Elscrux force-pushed the refactor/problem-type-serialization branch from 4790300 to 64c9bdf Compare September 11, 2023 14:27
@schweikart
Copy link
Copy Markdown
Member Author

Your change makes sense to me, thank you! From my point of view, you can rebase+merge this

@schweikart schweikart requested a review from Elscrux September 13, 2023 07:39
@Elscrux Elscrux merged commit 0e098b1 into docs/endpoint-documentation Sep 13, 2023
@schweikart schweikart mentioned this pull request Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: refactor Improvements to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants