If the input is a function, any arguments given to resolve are passed to it as a spread.
Resolve is not recursive. If the input is an object, it will be returned, even
though its properties may be resolvable. Use resolveFields if you want to handle this case.
Resolves the input to a concrete value.
The input can be:
Examples:
If the input is a function, any arguments given to
resolve
are passed to it as a spread.Resolve is not recursive. If the input is an object, it will be returned, even though its properties may be resolvable. Use resolveFields if you want to handle this case.