Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: No Responsebody if using Subscription #1292

Open
juferdinand opened this issue Oct 24, 2022 · 2 comments
Open

bug: No Responsebody if using Subscription #1292

juferdinand opened this issue Oct 24, 2022 · 2 comments
Labels
bug Something isn't working stale

Comments

@juferdinand
Copy link

juferdinand commented Oct 24, 2022

Please read our contributor guide before
creating an issue.

Expected behavior

Get Response by API

Actual behavior

I get no Response

Steps to reproduce

my subscription in code

@DgsSubscription(field = "subscribeTicketInformation")
fun subscribeTicketInformation(): Publisher<Response> {
    return Flux.interval(Duration.ofSeconds(1)).map { t: Long ->
        Response(Http(200, "hello"))
    }
}

schema

type Subscription{
subscribeTicketInformation: Response
}

Request is loading but not getting any response which I can read
grafik

I use Postman newest version for sending the request and API doesnt send any error so idk why I get no response

Note: A test case would be highly appreciated, but we understand that's not always possible

@juferdinand juferdinand added the bug Something isn't working label Oct 24, 2022
@juferdinand juferdinand changed the title bug: bug: No Responsebody if using Subscription Oct 24, 2022
@juferdinand
Copy link
Author

@juferdinand
Copy link
Author

Hello again, exists any update or is this problem maybe just an problem of Applications like Postman?

thx & greetings

@github-actions github-actions bot added the stale label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant