Skip to content

1.0.1: Guard check for misconfiguration or misuse

Choose a tag to compare

@github-actions github-actions released this 16 Apr 08:27
v1.0.1
d107f29

Because cryptic error NoMethodError: undefined method 'stream_from' for nil:NilClass isn't helpful for you, folks.

Added

  • Guard check for presence of ActionCable channel instance in the GraphQL execution context.

    This allows to detect wrong configuration (user forgot to pass channel into context) or wrong usage (subscription query was sent via HTTP request, not via WebSocket channel) of the library and provides clear error message to gem users.