You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix (future) registering scalars that extend other scalars
The codec registry does not respect the `customScalarCodecs`
if it's a scalar derived from a base scalar.
It will instead use the base scalar's derive method to basically
copy the base scalar functionality for that scalar extending it.
Switching instead to the `codecs` map/LRU fixes this.
It acts like a build cache and respects all entries.
Idk why there are so many different maps representing similar things:
codecs, codecsBuildCache, customScalarCodecs, SCALAR_CODECS.
All these hold codec instances by ID.
0 commit comments