-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Add Dictionary.merge() #59883
Add Dictionary.merge() #59883
Conversation
You seem to have a tiny style issue 👀 |
Thanks! |
In the array edition, it's |
@bend-n "append" means "add at the end", so it makes sense for an ordered list like an array. Dictionaries aren't ordered and so the new |
Can this be backported to 3.x? |
Thanks, I see. Its more of a "makes sense" thing than a consistency thing. |
Cherry-picked for 3.5. Note that I didn't bother adding it to the GDNative header - if someone wants to, feel free. |
Implements godotengine/godot-proposals#3739, based on my comment here: godotengine/godot-proposals#1756 (comment)
with 2 differences:
overwrite
parameter