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

feat: ✨ various improvements on move and copy statements #822

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

matteo-cristino
Copy link
Collaborator

No description provided.

@matteo-cristino matteo-cristino linked an issue Mar 5, 2024 that may be closed by this pull request
@jaromil
Copy link
Member

jaromil commented Mar 9, 2024

Perhaps we can also pack a new statement into this PR:

When I create the random 'ramdom_jti'
When I write the string '' in 'jti'
When I append the 'url64' of 'ramdom_jti' to 'jti'

We can have a way to copy and move as url64 and other encodings inside a string dictionary:

When I move the `random_jti` as `url64` in `jti`

…so arrays and open schemas as destination

Improve also checks on not averwriting existing variables
If destionation element already exist a custom error is thrown to let the user know the right statement to use since till now this statement was use to move stuff in a object
In this way we have the same statements both for move and copy
…coding

This statements support also schema as encoding
…ain encoding

remove some debug leftover and move the fucntion to apply a new encoding in zencode_data.lua
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.

move '' from '' to '' des not follow move statement logic Move object with CODEC change
2 participants