I'm a newbie to both graphQL and reactjs. I have a schema, and if a person searches for some field, we need to show him the whole queryPath. For example, if this is schema for some field:
RootSection1{section2{section3{section4}}}
if a user searches for section 4, the result should be like:
RootSection1->section2->section3->section4 (basically get user the idea about the path to the section)
How can i do so? Any suggestions is highly appreciated.
Top comments (0)