Relay modern: setValue of a record. Allow to pass an object.
Open
wontfix
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, relay modern [doesn't](https://github.com/facebook/relay/blob/083db04e6fedad744c3c1b3f0224004e136b4313/packages/relay-runtime/mutations/RelayRecordProxy.js#L151) allow us to set object as a value for a property of a record. I'm using [JSON](https://github.com/taion/graphql-type-json) type for a field in my graphql type. 
Relay understands it as a scalar type:

Is there any chance to allow pass an object as a value to `setValue`?
Contributor guide
Assessment
This issue has not been assessed yet.