realm-java icon indicating copy to clipboard operation
realm-java copied to clipboard

Public field name not available on Flexible sync queries

Open clementetb opened this issue 2 years ago • 0 comments

How frequently does the bug occur?

All the time

Description

If both public and private name are defined on a field, the public one cannot is not available to define Flexible sync queries.

Stacktrace & log output

No response

Can you reproduce the bug?

Yes, always

Reproduction Steps

  1. Define a model with a field that has an internal and public name.
  2. Try to define a Flexible sync query that filters by the public field name.
  3. Throw error as the public name is not available.

Version

10.10.1

What SDK flavour are you using?

MongoDB Realm (i.e. Sync, auth, functions)

Are you using encryption?

No, not using encryption

Platform OS and version(s)

Android12

Build environment

Android Studio version: ... Android Build Tools version: ... Gradle version: ...

clementetb avatar Mar 11 '22 11:03 clementetb