graphql-platform
graphql-platform copied to clipboard
Allow per-operation-kind override of execution timeout
Is your feature request related to a problem?
The default timeout (30s) is suitable for most usecases, but occasionally an operation may require a longer timeout. Raising the timeout globally is possible, but not necessarily desirable.
The solution you'd like
Rather than increase the timeout for every function, it would be great to change the timeout via both attribute ([ExecutionTimeout(300)]) or code (.Field<SomeQuery>(q => q.Something(default!)).ExecutionTimeout(5)).
Product
Hot Chocolate