question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Subscriptions not working with custom input types

See original GitHub issue

Description Subscription notifications are not being received by the client when the subscription’s argument is a custom input type.

To Reproduce

  • Modify the AspNetCore.StarWars example server onReview subscription to take a custom input type.
  • Start the AspNetCore.StarWars example server.
  • Send an onReview subscription request using the new input type in GraphQL Playground.
  • Send a createReview mutation as normal.

See commit afillebrown@76b4f45 in my HotChocolate fork for a modified version of the AspNetCore.StarWars example server demonstrating the issue.

Expected behavior Subscription notifications should be received by the client when the subscription’s input type is a custom input type.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
afillebrowncommented, Aug 9, 2019

Thank you!

0reactions
michaelstaibcommented, Aug 8, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Subscriptions not working with custom input types #949
Description Subscription notifications are not being received by the client when the subscription's argument is a custom input type.
Read more >
Tutorial: GraphQL Input Types and Custom Resolvers
This is part 5 of our full-stack GraphQL + React Tutorial that guides you through creating a messaging application.
Read more >
How to add Validator to Custom Input from Subscribe?
Create a validation function. I here pass the form controlname and an observable of the http request result as parameters. For fetching the ......
Read more >
Vue custom input
The happy custom input component doesn't mutate its prop but emits the changes to the parent component. This is enough to make it...
Read more >
Subscriptions
Using a custom PubSub system ... By default, TypeGraphQL uses a simple PubSub system from graphql-subscriptions which is based on EventEmitter. This solution...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found