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

<schema object>:map() now supports transforming composite types #4970

Open
TarantoolBot opened this issue Mar 5, 2025 · 0 comments
Open
Labels

Comments

@TarantoolBot
Copy link
Collaborator

<schema object>:map() now calls the user-provided transformation
function not only on scalar schema nodes, but also on record, map
and array nodes. The function is called on the outmost node first,
then on the descandant ones.

<schema object>:apply_default() now supports the default annotation
(and the apply_default_if one) for composite types. Similarly to
:map() it traverses the nodes in the pre-order way.
Requested by @Totktonada in tarantool/tarantool@d1208ea.

@Totktonada Totktonada added the 3.4 label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants