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 support for FieldPath for where-clause querying to Firestore Plugin. #1311

Closed
t-cun opened this issue Oct 24, 2019 · 5 comments
Closed

Comments

@t-cun
Copy link

t-cun commented Oct 24, 2019

Querying Firestore doesn't yield results when the Field name consists special characters.
For example abc@gmail.com which consists '.'
Can you include a work around like including ` around the Field name so that it treats special characters as Normal one.

This issue was previously closed without any comments/updates. Re-opening as the issue still exists.

Reference:
flutter/flutter#22712
#626

@t-cun t-cun added the type: bug Something isn't working label Oct 24, 2019
@iapicca iapicca added type: enhancement New feature or request and removed type: bug Something isn't working labels Oct 25, 2019
@jyardin
Copy link
Contributor

jyardin commented Jan 4, 2020

Is there any way to circumvent this problem?

@zephyo
Copy link

zephyo commented Feb 22, 2020

encountering this, does this have a fix yet?

@Ehesp
Copy link
Member

Ehesp commented Apr 22, 2020

You can use the FieldPath class to provide a path/key with special characters: https://github.com/FirebaseExtended/flutterfire/blob/29eb495bddafe3965e3b7f5f097d5122bf5e2d1a/packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/field_path.dart#L7

Will close, but this should be documented.

@Ehesp
Copy link
Member

Ehesp commented Apr 22, 2020

Re-opening to track with testing

@Salakar
Copy link
Member

Salakar commented Jul 7, 2020

Hey all, as part of our on-going work for #2582, this has been implemented in our Firebase Firestore rework (#2913) - which has now been merged into master. We'll look at publishing some prereleases in the next few days. Thank you

@Salakar Salakar closed this as completed Jul 7, 2020
@firebase firebase locked and limited conversation to collaborators Aug 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants