Skip to content

Conversation

@BitlyTwiser
Copy link
Owner

Fixing bug in parse causing errors to appear whilst using optional integers.

Optional integers were being treated as the parent type (optional) and not as the base type of the child (int) which was the root of the error.

Screenshot from 2025-01-05 11-30-06

field.type was being incorrectly passed into the parseNumeric function and is not corrected to be the @Type() of the child

…ts. Optional ints were being treated as the parent type (optional) and not as the base type of the child (int) which was causing errors
@BitlyTwiser BitlyTwiser self-assigned this Jan 5, 2025
@BitlyTwiser BitlyTwiser merged commit 871d9ba into main Jan 5, 2025
1 check passed
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