Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-27-2021 04:24 PM
Hi I'm using neo4j/graphql and I'm struggling to get fragments
to work, it doesn't look like it's supported. Specifically, I'd like to use it so I can reuse parts of queries, as currently I'm maintaining the fields for specific nodes that I'm calling in many places.
Is fragments unsupported? If not, is there an alternative way to reuse parts of queries so I don't have to re-write and maintain the subfields I'd like to call for specific nodes each and every time I write a query for them?
Solved! Go to Solution.
01-03-2022 07:14 AM
Turns out this is just part of Apollo and has nothing to do with Neo4j. All good here: Fragments - Client (React) - Apollo GraphQL Docs
01-03-2022 07:14 AM
Turns out this is just part of Apollo and has nothing to do with Neo4j. All good here: Fragments - Client (React) - Apollo GraphQL Docs
All the sessions of the conference are now available online