Commit Graph

5 Commits

Author SHA1 Message Date
Bogdan Drutu c6594a2b5e
[chore] Change JSON/Proto tests to tests for empty and filled types (#13618)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2025-08-12 04:51:35 +00:00
Bogdan Drutu c74560c80b
[chore] Generate proto marshal (#13596)
No changelog because this code is not yet publicly exposed in any way.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2025-08-10 07:17:43 +00:00
Bogdan Drutu 64e5220195
[chore] Add support to calculate proto size in pdata (#13592)
Add support to generate the proto Size by pdatagen. Not yet used, will
update after more tests are added.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2025-08-08 17:45:07 +00:00
Bogdan Drutu 56d8c8f8ff
[chore] Move marshal/unmarshal JSON to work with origin (#13581)
Remove the complication about internal/public for all funcs that only
need origin. Also improves significant testing.

This simplified a lot the fields (no more isCommon/isBaseCommon/etc.)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2025-08-06 23:24:03 +00:00
Bogdan Drutu cb546d8654
[chore] Move FillOrigTest to use orig and always in internal (#13578)
This PR allows to add tests for CopyOrig directly in the internal
package, also enables us to move more things to internal (including
tests) for Marshal/Unmarshal.

After this PR is merged we can generate the ProtoSize and other proto
helpers in internal.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2025-08-06 18:30:28 +00:00