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

[Docs] Fix invalid code for subscription lifecycle events #4743

Closed

Conversation

plusreed
Copy link

The documentation explaining Lifecycle Events for Subscriptions had invalid example code which would not have worked out of the box due to a pair of missing curly brackets. This PR adds those curly brackets to the code, which make the example code work.

A pair of curly brackets were missing from the code, which made the code invalid.
@apollo-cla
Copy link

@plusreed: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

@abernix abernix added the 📝 documentation Focuses on changes to the documentation (docs) label Dec 31, 2020
StephenBarlow pushed a commit that referenced this pull request Mar 2, 2021
@StephenBarlow
Copy link
Contributor

Thanks @plusreed! This article received an overhaul recently, so I applied the fix in a separate PR.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📝 documentation Focuses on changes to the documentation (docs)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants