For struct using code density:
public struct Advert: Codable {
public let location: Location
public let imageId, unitId, name: String
}
it gonna create initializer like this:
public init(location: Location, imageId, unitId, name: String,
which is not legal.
For struct using code density:
it gonna create initializer like this:
public init(location: Location, imageId, unitId, name: String,which is not legal.