Skip to content

Conversation

@mattt
Copy link
Contributor

@mattt mattt commented Mar 17, 2025

Related to #12

Before
let server = Server(
    name: "TestServer",
    version: "1.0.0",
    capabilities: .init(
        prompts: .init(),
        resources: .init(),
        tools: .init()
    )
)

After
let server = Server(
    name: "TestServer",
    version: "1.0.0",
    capabilities: .init(
        prompts: true,
        resources: true,
        tools: true
    )
)

@mattt mattt merged commit 3e628db into main Mar 17, 2025
1 check passed
@mattt mattt deleted the mattt/capabilities-expressible-by-boolean branch March 17, 2025 11:35
mattt added a commit that referenced this pull request Mar 17, 2025
mattt added a commit that referenced this pull request Mar 17, 2025
devyhan pushed a commit to devyhan/swift-sdk that referenced this pull request Apr 4, 2025
…xtprotocol#16)

* Conform Server.Capabilities types to ExpressibleByBooleanLiteral

* Conform Client.Capabilities types to ExpressibleByBooleanLiteral

* Use Boolean literatls for capabilities in tests

* Update README
devyhan pushed a commit to devyhan/swift-sdk that referenced this pull request Apr 4, 2025
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