refactor(serialization): provide type registration facade in schema package - #468
Merged
Conversation
shentongmartin
force-pushed
the
refactor/serialization
branch
from
September 23, 2025 12:03
34c619e to
a02d70a
Compare
📊 Coverage Report: |
shentongmartin
force-pushed
the
refactor/serialization
branch
3 times, most recently
from
September 26, 2025 01:52
5dde99b to
26050fc
Compare
…ackage Change-Id: I0cb7e5831aa32e37929f5d71ee13ecb6f3088bba
Change-Id: I90001fe760da63025f229508c4d49656267efd3d
Change-Id: I74a980f76ef053449569e4f2e7633fb28351226f
…tibility Change-Id: Ib6883037d81d5e4b0f4aade51ff6431e4feed3c8
Change-Id: I60c04002a0aece4204adf1e6709c32b6e86b375f
shentongmartin
force-pushed
the
refactor/serialization
branch
from
September 26, 2025 09:57
26050fc to
9143d00
Compare
Change-Id: I2f9d0e2683b90eddbb202dc9b416bd08ed7d87b9
shentongmartin
force-pushed
the
refactor/serialization
branch
from
September 26, 2025 10:07
9143d00 to
b509636
Compare
Change-Id: I634ed2021f7bde12f83122253cbd272cc9550022
Contributor
|
覆盖率差一点 |
Change-Id: I734dc191f519e7e6b51e97cbaef4659974e72487
meguminnnnnnnnn
approved these changes
Sep 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this PR centralized type registration to the schema package, hiding details such as Gob or eino's internal serialization mechanism.
New APIs:
For each type that may need to be serialized either by graph or adk, call
schema.Registerorschema.RegisterNamein the init() function within the go file that declares that type. e.g.: