Right now, if there is an object type in the result of a mutation, it can only be there on it's own to get any kind of result. I'd like to support multiple objects as well as objects alongside strings.
Main problem here is how to handle conflicts in strings, and leaves in the objects. One option is to provide them all with the corresponding result from the service. For example:
['name', {'foo': 'name'}] would get resolved to ['bob', {'foo': 'bob'}] if the remote data returned with {'name': 'bob'}
Right now, if there is an object type in the result of a mutation, it can only be there on it's own to get any kind of result. I'd like to support multiple objects as well as objects alongside strings.
Main problem here is how to handle conflicts in strings, and leaves in the objects. One option is to provide them all with the corresponding result from the service. For example:
['name', {'foo': 'name'}]
would get resolved to['bob', {'foo': 'bob'}]
if the remote data returned with{'name': 'bob'}