DEV Community

Discussion on: Neo4j and GraphQL Heavenly Match #1 - Directional Relationships

Collapse
 
abiyasa profile image
Abiyasa Suhardi

Thanks, Michael! That's really helpful, especially about returning scalar types, which I didn't know before about this limitation

Thread Thread
 
muddybootscode profile image
Michael Porter • Edited

No problem, in this case you're probably going to want to return some kind of custom scalar type, like a JSON object. You can find information about there here in the Apollo docs apollographql.com/docs/graphql-too...