mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
3ba5d1e540
GitOrigin-RevId: 1a0d8fa2b465320e9ab4ea43259d0e8d92364473
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
# For now this is an error since this seens very likely user error, but we're
|
|
# not committed to this.
|
|
- description: non-volatile function as mutation (error, for now)
|
|
url: /v1/query
|
|
status: 400
|
|
response:
|
|
internal:
|
|
- definition:
|
|
schema: public
|
|
name: stable_func1
|
|
reason:
|
|
'Inconsistent object: in function "stable_func1": the function "stable_func1"
|
|
cannot be tracked because the function was requested to be exposed as a mutation,
|
|
but is not marked VOLATILE. Maybe the function was given the wrong volatility
|
|
when it was defined?'
|
|
name: function stable_func1 in source default
|
|
type: function
|
|
path: $.args
|
|
error:
|
|
'Inconsistent object: in function "stable_func1": the function "stable_func1"
|
|
cannot be tracked because the function was requested to be exposed as a mutation,
|
|
but is not marked VOLATILE. Maybe the function was given the wrong volatility
|
|
when it was defined?'
|
|
code: invalid-configuration
|
|
query:
|
|
version: 2
|
|
type: track_function
|
|
args:
|
|
function: stable_func1
|
|
configuration:
|
|
exposed_as: mutation
|