       isTransient: isTransient,
       isToMany: isToMany,
       isOrdered: isOrdered,
+      userInfo: userInfo,
       destinationEntity: destinationEntity,
-      inverseRelationship: inverseRelationship,
-      userInfo: userInfo
+      inverseRelationship: inverseRelationship
     )
   }
 }

}

extension CoreData.Relationship {
  convenience init(with object: Kanna.XMLElement) throws {
    guard let name = object[XML.Attributes.name] else {
      throw CoreData.ParserError.invalidFormat(reason: "Missing required relationship name.")
    }


    public let destinationEntity: String
    public let inverseRelationship: InverseRelationship?
  }
}

