File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,32 @@ JsonEncoded = jsone:encode(JsonValue),
75
75
JsonResponse = argo_value :to_json (ArgoValue ).
76
76
```
77
77
78
+ Use ` argo:display/1 ` or ` argo:display_with_lines/1 ` to inspect Argo Wire Types, Argo Values, and GraphQL related data structures:
79
+
80
+ ``` erlang
81
+ argo :display (ArgoWireType ).
82
+ % {
83
+ % data: {
84
+ % me: {
85
+ % name: STRING<String>?
86
+ % }?
87
+ % }?
88
+ % errors?: ERROR[]
89
+ % extensions?: EXTENSIONS
90
+ % }
91
+
92
+ argo :display (ArgoValue ).
93
+ % {
94
+ % data: NON_NULL({
95
+ % me: NON_NULL({
96
+ % name: NON_NULL(STRING(<<"Luke Skywalker">>)<String>)
97
+ % })
98
+ % })
99
+ % errors?: ABSENT
100
+ % extensions?: ABSENT
101
+ % }
102
+ ```
103
+
78
104
## License
79
105
80
106
` argo ` is MIT licensed, as found in the [ LICENSE] ( LICENSE.md ) file.
You can’t perform that action at this time.
0 commit comments