Repository navigation
Conversation
3 tasks done
This was referenced Oct 24, 2026
Contributor
Author
|
Replaced by #633, which carries this change merged with the other Swift SDK 0.0.32 pull requests into one page. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Swift SDK gains a client for the operations only the instance can do, in withmarfa/marfa-swift#372. This documents it: the Swift SDK page gets the
MarfaAPIproduct and a "Call the server directly" section, "Define a type" gets a Swift tab for each step, and How Marfa works no longer says the core sends every Swift request. Merge it after the Swift SDK release that ships withmarfa/marfa-swift#372.Part of withmarfa/marfa-swift#366.
Changes
MarfaAPI. A new section showsClient(server), the typed type calls with links to their operations, how the other operations are named and read, what the client leaves out (any call that creates, gets, changes or deletes one item or edge, search and event calls, bulk changes, connector operations, and those for the owner's session alone) and that it still reads versions, statistics and occurrences, and how it behaves:noConnectionwhen offline, a 30-second wait for the instance to send more thatClient(server, timeout:)changes, one renewal of an expired access token,signedOutafter the sign-in ends, and no redirects. It says when to usedeclareTypes(_:)and whenregister(itemType:). Handle errors addsnoConnectionand namesClient.MarfaAPI.Testing
pnpm test: 39 files, 700 tests pass, including the content lint, which resolves every new operation link.checkandregisterofapp.readinglist.entry,listAuditLog().ok.body.json, then decoding the guide'sreceipt.jsonintoTypeDefinitionInputandTypeDefinitionUpdate, register (version 0), normalize (registered_typepresent), replace, delete, and a second delete refusednot_found.pnpm buildandpnpm types:check; CI runs them.Notes for reviewers
swift-sdk.mdx, in other sections. Whichever merges later rebases.Checklist