Open bdkjones opened 1 year ago
Hi @bdkjones thanks for raising this issue in our documentation, asking the core team why do we have this constraint, and also I'll request the document team to update this as well.
I recommend using percent encoded escaping meanwhile
Documentation and dosstrings are updated, leaving this issue open so we can work to support this in the future, if the restrictions on the server change or we find a workaround.
How frequently does the bug occur?
Always
Description
I have an
Object
with this property:The keys of this object were intended to be bundle identifiers (e.g.
com.apple.Safari
). I ported the entire damn app to Realm only to discover that Realm has an undocumented, arbitrary limitation on keys: they can't contain periods.No such limitation exists on Swift dictionaries. The documentation (which I read thoroughly to make sure Realm would work for all my model features PRIOR to porting this app) at https://www.mongodb.com/docs/realm-sdks/swift/latest/Classes/Map.html incorrectly states that "only string keys are supported". In fact, only a subset of strings are supported as keys, which is a pretty important detail to omit.
The ideal remedy is to remove the arbitrary limitation on keys. Barring that, the documentation should be updated to properly outline Realm's limitations so that developers don't waste their time adopting Realm when it won't work.
Stacktrace & log output