← All types
In Input object

ExecuteScriptInput

Input for executing a Lua script in the playground

Fields

script

String!Required

Lua source code

JSON-encoded script input, passed as the first chunk argument: local input = ... . Omitted input yields nil.

If true, restrict inner GraphQL to read/list only (default false)

Referenced by (1)
Exact type SDL
"""Input for executing a Lua script in the playground"""
input ExecuteScriptInput {
  """Lua source code"""
  script: String!
  """
  JSON-encoded script input, passed as the first chunk argument: local input = ... . Omitted input yields nil.
  """
  input: JSONString
  """If true, restrict inner GraphQL to read/list only (default false)"""
  readonly: Boolean
}