ajevans99 / swift-json-schema

Generate JSON Schema documents from Swift
MIT License
12 stars 5 forks source link

Fix Swift 6 `Context` Sendable issues #40

Open ajevans99 opened 3 weeks ago

ajevans99 commented 3 weeks ago

Context is not data race safe for Swift 6 language mode. It might be better to make an actor and use async throughout validation. Or might be able to make Context a value type.