Commit 347bc38
feat: export PostUpdateParams in Swift public API (#1270)
* feat: export PostUpdateParams in Swift public API
PostUpdateParams was already defined in Rust and available via uniffi
bindings in WordPressAPIInternal, but was not re-exported in the
public WordPressAPI module's Exports.swift. This prevents consumers
like GutenbergKit from constructing params to call
posts.updateCancellation() without also importing WordPressAPIInternal.
Also adds a compatibility test following the existing pattern in
native/swift/Tests/api-compatibility/ that validates the type is
constructible from the public module.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* test: Remove rudimentary PostsCompatTests
This test covers very little functionality directly. While there are
other existing tests like it, we decided it is not worth adding.
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 302b03b commit 347bc38
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
0 commit comments