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

Passthrough input unchanged for convert to Any type #435

Merged
merged 1 commit into from
Jun 11, 2023

Conversation

jcrist
Copy link
Owner

@jcrist jcrist commented Jun 11, 2023

Previously when converting a value to an Any type, we'd recurse through the input if the input was a known builtin type. We now return the input unchanged when converting to an Any field. This is significantly more efficient in these cases, as it doesn't require recursing through the input data.

Previously when converting a value to an `Any` type, we'd recurse
through the input if the input was a known builtin type. We now return
the input unchanged when converting to an `Any` field. This is
significantly more efficient in these cases, as it doesn't require
recursing through the input data.
@jcrist jcrist merged commit 49dae17 into main Jun 11, 2023
@jcrist jcrist deleted the convert-any-passthrough branch June 11, 2023 04:37
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.

1 participant