-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Doesn't Map value type work at all? #8644
Comments
➤ PM Bot commented: Jira ticket: RCOCOA-2404 |
|
@tgoyne when I use Currently I refactored my objects to use List+identifier fields instead of single Map field - it is not so convenient but at least it works. |
You can see an example of how map properties are defined in our tests: realm-swift/RealmSwift/Tests/CodableTests.swift Lines 252 to 282 in 235d003
|
How frequently does the bug occur?
Always
Description
Code example
I check every value inside
requestedObj1
and see each data I've stored previously except ofMap
object and its values - it just becomes nil after assignment.Possibly there are similar bugs exist but I can't found it - documentation doesn't show a concrete example of how to use
Map
and in the same timeMap
is similar to Swift'smap
for collections and sequences which make searching almost impossible.In general are there other ways to store a dictionary in Realm?
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
10.46.0
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS 15.5 (simulator)
Build environment
Xcode version: 15.0
Dependency manager and version: cocoapods 1.15.2
The text was updated successfully, but these errors were encountered: