mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 12:31:52 +03:00
cb85d62078
Additional documentation for REST queries with respect to how url template variables and query variables are interpreted. * Route variables and Query parameters are interpreted as scalars according to the variables types in the associated query and passed as JSON data through the query variables: * Missing nullable variables are interpreted as NULL * Boolean variables are interpreted as Bools * Boolean flags without values e.g. ``/api/rest/myquery?mybool`` are interpreted as True for boolean variables * String variables are interpreted as literal Strings * UUID variables are interpreted as strings * ID variables are interpreted as strings * Number, Int, Float, and Double variables are interpreted as Numbers * All other types or mismatches currently report variable type errors --- ### Kodiak commit message Documentation for variable interpretation for primitive URL variables #### Commit title Documentation for variable interpretation for primitive URL variables Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com> GitOrigin-RevId: 2d90facd0e644e275fe752dc393f066fb71490c5 |
||
---|---|---|
.. | ||
actions.rst | ||
computed-field.rst | ||
custom-functions.rst | ||
custom-types.rst | ||
dataerrors.csv | ||
event-triggers.rst | ||
index.rst | ||
manage-metadata.rst | ||
permission.rst | ||
query-collections.rst | ||
relationship.rst | ||
remote-relationships.rst | ||
remote-schema-permissions.rst | ||
remote-schemas.rst | ||
restified-endpoints.rst | ||
run-sql.rst | ||
scheduled-triggers.rst | ||
table-view.rst |