Fetch value on update only if truly needed by external backend
This resolves the problem with the TypeInstance update for "dynamic" backend, where only context is allowed. In such cases we got error:
Error: while executing mutation to update TypeInstances: All attempts fail:
#1: graphql: failed to update TypeInstances: 1 error occurred:
* Error: External backend "37341a40-abf9-4abd-aae1-4f2d50ea1bd6": input value not allowed
to resolve it, we need to check whether backend really need this value or not.
Description
Changes proposed in this pull request:
Fetch value on update only if truly needed by external backend
This resolves the problem with the TypeInstance update for "dynamic" backend, where only
context
is allowed. In such cases we got error:to resolve it, we need to check whether backend really need this value or not.
Related issue(s)
Detected on https://github.com/capactio/capact/pull/699 Fix https://github.com/capactio/capact/issues/704