Skip to content

Commit 81e1d7a

Browse files
author
Robert Mosolgo
authored
Merge pull request rmosolgo#1443 from pradyumna2905/patch-2
Update input_objects.md
2 parents fb040d0 + 74c79d7 commit 81e1d7a

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)