Skip to content

I am getting a + symbol inserted instead of a space #175

Closed Answered by SchneiderInfosystems
JediThumper asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Alan

That has changed while correction of #24 already in September 2019 still before version 1.0 was published. On the other hand, I can confirm that the deprecated version of TFirestoreDatabase.InsertOrUpdateDocument did not encode the path correctly when specifying the path, which I now consider a bug. The class function TFirestoreDocument.GetDocFullPath should encode the document path identical with TFirebaseHelpers.EncodeResourceParams.

The firestore spec would allow a space (https://firebase.google.com/docs/firestore/quotas#collections_documents_and_fields), but from my point of view a space in an ID is not a good design. How you can you easily distinguish between one, two or more…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by SchneiderInfosystems
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@JediThumper
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants