From 450d360dd3c3e302fde2f0afc7a4ba0810f7dd81 Mon Sep 17 00:00:00 2001 From: David Revelo Date: Wed, 14 Oct 2020 21:47:51 -0500 Subject: [PATCH] Fix fields nullability in subscriptions documentation --- guides/subscriptions/subscription_classes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/subscriptions/subscription_classes.md b/guides/subscriptions/subscription_classes.md index 45bd054539..8d6d1da0ac 100644 --- a/guides/subscriptions/subscription_classes.md +++ b/guides/subscriptions/subscription_classes.md @@ -102,8 +102,8 @@ Like mutations, you can use a generated return type for subscriptions. When you ```ruby class Subscriptions::MessageWasPosted < Subscriptions::BaseSubscription - field :room, Types::RoomType, null: true - field :message, Types::MessageType, null: true + field :room, Types::RoomType, null: false + field :message, Types::MessageType, null: false end ```