Skip to content

Commit

Permalink
Fix fields nullability in subscriptions documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
David Revelo committed Oct 15, 2020
1 parent af617b9 commit 450d360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/subscriptions/subscription_classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 450d360

Please sign in to comment.