Open akuteru opened 3 years ago
With SetAsync
the same thing happens to you?
With
SetAsync
the same thing happens to you?
I havent tried using SetAsync. Do you have some idea how can i replicate or generate a document ID like how the firebase does it with AddAsync?
CrossCloudFirestore.Current.Instance.Collection("randomPath").Document().Id;
I am always encountering this error when I am using the AddAsync method. But the weird thing is, currently I only get it when I am adding document to a certain Collection.
Here is the code:![image](https://user-images.githubusercontent.com/66933479/116957426-6c94e280-acca-11eb-9727-5feddd06d364.png)
Here is my model setup![image](https://user-images.githubusercontent.com/66933479/116957458-761e4a80-acca-11eb-87f1-cc9347f907ee.png)
here is the error warnings I am getting after triggering the AddAsync in the Output window![image](https://user-images.githubusercontent.com/66933479/116957395-5ab33f80-acca-11eb-98ce-50a2d08063be.png)
I cant seem to pinpoint what is the problem. Can anyone tell me? Is there something wrong with how I map or setup my model?
I tried it with all the properties filled out and it still throws an object reference error so I am a little confused at what's wrong.