Skip to content

Commit 74c79d7

Browse files
author
Pradyumna Shembekar
authored
Update input_objects.md
- Adding the real output of `attributes.full_text` to make it even more clear.
1 parent fb040d0 commit 74c79d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/type_definitions/input_objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ def create_post(attributes:)
7373
# => "Types::PostAttributes"
7474
# Access a value by method (underscore-cased):
7575
puts attributes.full_text
76-
# => "..."
76+
# => "This is my first post"
7777
# Or by hash-style lookup (camel-cased, for compatibility):
7878
puts attributes[:fullText]
79-
# => "..."
79+
# => "This is my first post"
8080
end
8181
```
8282

0 commit comments

Comments
 (0)