Giter VIP home page Giter VIP logo

Comments (5)

rebello95 avatar rebello95 commented on June 28, 2024 1

Thank you! I was able to reproduce, and have a fix proposed here: #159

from connect-swift.

rebello95 avatar rebello95 commented on June 28, 2024

👋🏽 @tmc can you share some details on what you did to get this warning to show up and which version of Xcode you're using? I'm not able to reproduce when running all the tests with Xcode 15 beta 15A5160n.

from connect-swift.

j-j-m avatar j-j-m commented on June 28, 2024

I am seeing this as well. basically just server streaming, works in current Xcode but not in beta.

from connect-swift.

rebello95 avatar rebello95 commented on June 28, 2024

@j-j-m can you please share details on how to reproduce this and which beta you're using?

from connect-swift.

j-j-m avatar j-j-m commented on June 28, 2024

Version 15.0 beta 8 (15A5229m)

and I although I am not at liberty to share any of the code my basic usage is as follows

I create a client

let _client = ProtocolClient(
            httpClient: URLSessionHTTPClient(),
            config: ProtocolClientConfig(
                host: environment.urlString,
                networkProtocol: .connect,
                codec: JSONCodec()
            )
        )

I run codegen which produces a server streaming endpoint which returns an async stream, lets call it client.stream

let client = MYCodeGenClient(client: _client)
for try await result in client.stream() {
       // handle result
}

I then get this runtime warning. the same exact code works on the current release of Xcode 14

from connect-swift.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.