Skip to content

Commit

Permalink
Merge pull request #3194 from 00dav00/fix-required-field-in-mutations…
Browse files Browse the repository at this point in the history
…-docs

Fix fields nullability in subscriptions documentation
  • Loading branch information
Robert Mosolgo authored Oct 15, 2020
2 parents af617b9 + 450d360 commit dbb9f38
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 dbb9f38

Please sign in to comment.