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

Ensure transformedId is an int #171

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Ensure transformedId is an int #171

merged 1 commit into from
Dec 18, 2024

Conversation

ashfame
Copy link
Member

@ashfame ashfame commented Dec 17, 2024

This ensures transformedId is an int & not a string containing an int value. Also made it readonly for REST API context since frontend will never update its value. Lastly, added tests to ensure types show up correctly for int values.

@ashfame ashfame requested a review from psrpinto December 17, 2024 19:12
@ashfame ashfame self-assigned this Dec 17, 2024
Copy link
Member

@psrpinto psrpinto left a comment

Choose a reason for hiding this comment

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

👌

@ashfame ashfame merged commit 1ad8a70 into trunk Dec 18, 2024
3 checks passed
@ashfame ashfame deleted the transformedId_must_int branch December 18, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants