Ensure Realm Documentation Matches Implementation
"Int" is listed as a supported type for partition keys but it's not implemented. You should remove "Int" from the supported types since it's not supported.
Thanks for reporting this. The docs are wrong -- Long (Int64) is supported, but not Int32. We have a ticket to address this.