Skip to content

Conversation

@roykim98
Copy link
Contributor

@roykim98 roykim98 commented Mar 1, 2025

Summary

Similar to #1114, encode values to string fields by converting values of bool, int, and float under the hood. This is an operation that fails currently.

Also decodes test.desc such that a test.proto is included alongside the other existing test*.proto and test*.desc in case it needs to be updated in the future.

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

How did you test this PR?

Unit tests

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on
    our guidelines.
  • No. A maintainer will apply the "no-changelog" label to this PR.

Checklist

  • Our CONTRIBUTING.md is a good starting place.
  • If this PR introduces changes to LICENSE-3rdparty.csv, please
    run dd-rust-license-tool write and commit the changes. More details here.
  • For new VRL functions, please also create a sibling PR in Vector to document the new function.

References

@pront pront changed the title fix(encode_proto): When encoding values into string fields, attempt to convert them automatically en(encode_proto): When encoding values into string fields, attempt to convert them automatically Mar 3, 2025
@pront pront changed the title en(encode_proto): When encoding values into string fields, attempt to convert them automatically enhancement(encode_proto): When encoding values into string fields, attempt to convert them automatically Mar 3, 2025
Copy link
Member

@pront pront left a comment

Choose a reason for hiding this comment

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

Thank you @roykim98. This makes sense 👍

@pront pront added the meta: awaiting author Pull requests that are awaiting their author. label Mar 3, 2025
@pront pront removed the meta: awaiting author Pull requests that are awaiting their author. label Mar 3, 2025
@pront pront enabled auto-merge March 3, 2025 20:16
@pront pront added this pull request to the merge queue Mar 3, 2025
Merged via the queue into vectordotdev:main with commit 6b6e874 Mar 3, 2025
16 checks 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