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

[Feature]-[500]:Firestore plugin - allow persisting of DocumentRef type in document #12651

Open
1 task done
sumitsum opened this issue Apr 7, 2022 · 6 comments
Open
1 task done
Labels
Backend This marks the issue or pull request to reference server code Community Reported issues reported by community members Enhancement New feature or request Firestore Issues related to the firestore Integration High This issue blocks a user from building or impacts a lot of users Integrations Product Issues related to a specific integration Query & JS Pod Issues related to the query & JS Pod

Comments

@sumitsum
Copy link
Contributor

sumitsum commented Apr 7, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Summary

From community:

I mean that the field in the firestore document that stores the document ref is always of type document ref, so that, when firestore is queried from any front end (be it appsmith, the native mobile app or else) gets a document reference type

I got a error that might portrait my issue in a better way
If the field in the document is not stored as a document referece, then when trying to query it from the native mobile app, an error similar to this is displayed
Error serializing doc Partner/[partner ID]:
Deserializing '[progress_units, ...' to 'ParnterRecord' failed due to: Deserializing '[path, partners/[partner ID], id, [partner ID]' to 'DocumentReference<Object>' failed due to: Expected a value of type 'DocumentReference<Object?>', but got one of type 'List<Object?>'

This should help: https://stackoverflow.com/questions/50012956/firestore-how-to-store-reference-to-document-how-to-retrieve-it

Why should this be worked on?

Community request.
Firestore plugin enhancement.

@sumitsum sumitsum added Enhancement New feature or request Backend This marks the issue or pull request to reference server code Community Reported issues reported by community members Firestore Issues related to the firestore Integration Query & JS Pod Issues related to the query & JS Pod labels Apr 7, 2022
@rohan-arthur
Copy link
Contributor

rohan-arthur commented Apr 7, 2022

Firestore 6m: 250
Assume 50% requirement: 125

@rohan-arthur rohan-arthur added the High This issue blocks a user from building or impacts a lot of users label Apr 7, 2022
@ajinkyakulkarni
Copy link
Contributor

Stats

Stat Values
Reach 125
Effort (months) 0.50

@Nikhil-Nandagopal Nikhil-Nandagopal changed the title [Feature]: Firestore plugin: allow persisting of DocumentRef type in document [Feature]-[500]:Firestore plugin Apr 11, 2022
@ajinkyakulkarni ajinkyakulkarni changed the title [Feature]-[500]:Firestore plugin [Feature]-[500]:Firestore plugin - allow persisting of DocumentRef type in document Apr 11, 2022
@Nikhil-Nandagopal Nikhil-Nandagopal changed the title [Feature]-[500]:Firestore plugin - allow persisting of DocumentRef type in document [Feature]-[500]:Firestore plugin - allow persisting of DocumentRef type in document Apr 26, 2022
@st-trade
Copy link

Hi! Any update on this?

@sumitsum
Copy link
Contributor Author

Hi @st-trade , unfortunately, we have not been able to prioritize it yet.

@ajinkyakulkarni ajinkyakulkarni added the Datatype issue Issues that have risen because data types weren't handled label May 11, 2022
@st-trade
Copy link

Hello! Any updates?

@st-trade
Copy link

Found a similar issue

#7176

@Nikhil-Nandagopal Nikhil-Nandagopal added Integrations Product Issues related to a specific integration Data Platform Pod Issues related to the underlying data platform labels Sep 12, 2022
@sribalajig sribalajig removed the Data Platform Pod Issues related to the underlying data platform label Oct 7, 2022
@github-actions github-actions bot added the Data Platform Pod Issues related to the underlying data platform label Oct 7, 2022
@sribalajig sribalajig removed Datatype issue Issues that have risen because data types weren't handled Data Platform Pod Issues related to the underlying data platform labels Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend This marks the issue or pull request to reference server code Community Reported issues reported by community members Enhancement New feature or request Firestore Issues related to the firestore Integration High This issue blocks a user from building or impacts a lot of users Integrations Product Issues related to a specific integration Query & JS Pod Issues related to the query & JS Pod
Projects
None yet
Development

No branches or pull requests

7 participants