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

refactor: Reorganize transformInteriorValue #9566

Open
wants to merge 1 commit into
base: alpha
Choose a base branch
from

Conversation

kassiansun
Copy link

@kassiansun kassiansun commented Jan 22, 2025

This code was checking a constantly true condition value !== CannotTransform, that's why the code was not properly handling nested structure properly, The code introduced by #8446 fixed this logic, by introducing another duplicated piece of code.

This commit simplifies the logic here to reflect the original purpose.

Pull Request

Issue

Closes: #9567

Approach

Tasks

Copy link

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant bot changed the title refactor: reorganize transformInteriorValue refactor: Reorganize transformInteriorValue Jan 22, 2025
Copy link

parse-github-assistant bot commented Jan 22, 2025

Thanks for opening this pull request!

@kassiansun kassiansun force-pushed the alpha branch 2 times, most recently from 9ec6cfd to d4c3acf Compare January 22, 2025 06:42
This code was checking a constantly true condition value !== CannotTransform,
that's why the code was not properly handling nested structure properly,
The code introduced by parse-community#8446 fixed this logic, by introducing another
duplicated piece of code.

This commit simplifies the logic here to reflect the original purpose.
@kassiansun
Copy link
Author

This PR should also fix the (broken since #8446) regexp and bytes conversion, althought I didn't try to test it

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.

transformInteriorValue doesn't handle conversion properly
1 participant