Open ajevans99 opened 2 months ago
@Schemable struct Weather { @ObjectOptions( propertyNames: .options(pattern: "^[A-Za-z_][A-Za-z0-9_]*$"), minProperties: 2, maxProperties: 5 ) let metadata: [String: String] }
This will fail because macro expansion will apply object properties after .additionalProperties { ... }, however, the return of .additionalProperties is not Self but a new type.
.additionalProperties { ... }
.additionalProperties
Self
This will fail because macro expansion will apply object properties after
.additionalProperties { ... }
, however, the return of.additionalProperties
is notSelf
but a new type.