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

Add set(document_id: String, data: Dictionary) function #442

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RemyBENALOUANE
Copy link

Add set(document_id: String, data: Dictionary) function in firestore_collection.gd to replace a document by a Dictionary

@SammoWammo1
Copy link

good idea

@WolfgangSenff
Copy link
Collaborator

Looks right. I'll have to pull it down to test and am still waking up, but cool!

Copy link
Collaborator

@WolfgangSenff WolfgangSenff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate to ask, but could you change the name of the function to set_doc? The reason is that set itself is likely to be the name of a function from Godot itself and I want to keep it future proof against likely problems. I haven't pulled it down yet, but I actually thought this would already fail to run because of that issue - just get fails because of it.

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.

3 participants