;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; with all optimizations.
|
|
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
|
|
;;; This file does not contain utf-8 non-ASCII characters,
|
;;; and so can be loaded in Emacs versions earlier than 23.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(require 'pcase)
|
#@43 Encode OBJ as a GraphQL string.
|
|
(fn OBJ)
|
(defalias 'graphql--encode-object #[257 "\211;\203 \207\2119\203 \300!\207\211\247\203 \301!\207\211:\205( \211A:?\205( \300@!\207" [symbol-name number-to-string] 3 (#$ . 425)])
|
#@65 Encode an argument spec SPEC.
|
SPEC is of the form...
|
|
(fn SPEC)
|
(defalias 'graphql--encode-argument-spec #[257 "\300@A\"\207" [graphql--encode-argument] 4 (#$ . 657)])
|
#@58 Encode an argument KEY with value VALUE.
|
|
(fn KEY VALUE)
|
(defalias 'graphql--encode-argument #[514 "\300\301\302!#\207" [format "%s:%s" graphql--encode-argument-value] 7 (#$ . 833)])
|
#@272 Encode an argument value VALUE.
|
VALUE is expected to be one of the following:
|
|
* a symbol
|
* a 'variable', i.e. \='($ variableName)
|
* an object (as a list)
|
* a string
|
* a vector of values (e.g., symbols)
|
* a number
|
* something encode-able by `graphql-encode'.
|
|
(fn VALUE)
|
(defalias 'graphql--encode-argument-value #[257 "\2119\203 |