Skip to content

Fix Swift-syntax code examples in skyvault README - #198

Merged
saileshwar-skyflow merged 1 commit into
mainfrom
saileshwar/fix-skyvault-readme-swift-syntax
Aug 26, 2026
Merged

Fix Swift-syntax code examples in skyvault README#198
saileshwar-skyflow merged 1 commit into
mainfrom
saileshwar/fix-skyvault-readme-swift-syntax

Conversation

@saileshwar-skyflow

Copy link
Copy Markdown
Collaborator

Converts the remaining Swift-syntax code examples in skyvault/README.md to Kotlin. Doc-only — no SDK/source changes, so skyvault stays byte-identical to 1.27.0. These were pre-existing (shipped with 1.27.0), ported from iOS docs with incomplete conversion.

Changes (all in skyvault/README.md, 34 lines)

  • Named-arg colons → = in value examples: CollectElementOptions / RevealElementOptions (required:, enableCardIcon:, format:, translation:), the init Options block, create() (input:, options:), and the set-log-level snippets (logLevel:).
  • letval on the two reveal create() examples, plus added the required context = this argument.
  • Fixed the SKyflowSkyflow typo in the init example.

Prose method-signature descriptions (e.g. inline create(context: Context, input: …) inside sentences) are a documentation convention and were left as-is.

🤖 Generated with Claude Code

Convert Swift-style snippets to Kotlin: named-arg colons to `=`, `let`
to `val`, and add the `context` arg to create() calls. Doc-only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions

Copy link
Copy Markdown

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@saileshwar-skyflow
saileshwar-skyflow merged commit 8ab46ca into main Aug 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants