Not sure if this is the correct place for a question about a beta release but I wanted to get clarification on the new Mixed Data Type AnyRealmValue in 10.8.0-beta.0
The documentation states
you can’t declare an
AnyRealmValue
as optional
However, the code following that statement shows
// This dog has no companion.
// You can set the field's type to "none", which represents `nil`
myDog.companion.value = .none
So… the value can be set to .none which represents nil which would mean the value is optional but it can’t be declared as optional?
The use of the word ‘represents’ leads me to believe there’s more to the story - can we get clarification?