Tell me the whole story
Pre-release
Pre-release
·
21 commits
to release/7_0
since this release
What's Changed
- More informed external dereference component key function by @mattpolzin in #513
Breaking changes
External Loading
The componentKey() function required to conform to the ExternalLoader protocol has changed from taking the type of thing being loaded as its first argument to instead taking the object that has been loaded. This gives the componentKey() function more information if it is needed. It's likely a very small change to any current implementations of external loading.
Before:
static func componentKey<T>(type: T.Type, at url: URL) throws -> OpenAPIKit.OpenAPI.ComponentKeyAfter:
static func componentKey<T>(for object: T, at url: URL) throws -> OpenAPIKit.OpenAPI.ComponentKeyFull Changelog: 7.0.0-beta.1...7.0.0-beta.2