lvarayut / relay-fullstack

:point_up::running: Modern Relay Starter Kit - Integrated with Relay, GraphQL, Express, ES6/ES7, JSX, Webpack, Babel, Material Design Lite, and PostCSS
https://lvarayut.github.io/relay-fullstack/
MIT License
986 stars 126 forks source link

Relay is returning strange alias for connections via REQUIRED_CHILDREN after mutation #34

Closed Rohit-cheddr closed 8 years ago

Rohit-cheddr commented 8 years ago

For some reason when I do a mutation and get a return value with REQUIRED_CHILDREN in getConfigs, connections are being returned with a strange alias: _tierItems2EmfF3where it should be tierItems.

When I make the same mutation through GraphiQL, the connection is returned properly.

I am not sure if this is some kind of configuration issue, but I have no idea what could be causing this.

lvarayut commented 8 years ago

Thanks for your question. I think it's a mechanism inside Relay. You should be able to access tierItems as normal inside your application.