<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Satwik Samyaan</title>
    <description>The latest articles on DEV Community by Satwik Samyaan (@samyaan).</description>
    <link>https://dev.to/samyaan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F824743%2F254d67e1-f93c-4146-9003-8187afba52f9.jpeg</url>
      <title>DEV Community: Satwik Samyaan</title>
      <link>https://dev.to/samyaan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samyaan"/>
    <language>en</language>
    <item>
      <title>How to get Query Path for a graphQL field using ReactJs?</title>
      <dc:creator>Satwik Samyaan</dc:creator>
      <pubDate>Thu, 16 Feb 2023 07:19:44 +0000</pubDate>
      <link>https://dev.to/samyaan/how-to-get-query-path-for-a-graphql-field-using-reactjs-4hon</link>
      <guid>https://dev.to/samyaan/how-to-get-query-path-for-a-graphql-field-using-reactjs-4hon</guid>
      <description>&lt;p&gt;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: &lt;/p&gt;

&lt;p&gt;RootSection1{section2{section3{section4}}}&lt;/p&gt;

&lt;p&gt;if a user searches for section 4, the result should be like:&lt;/p&gt;

&lt;p&gt;RootSection1-&amp;gt;section2-&amp;gt;section3-&amp;gt;section4 (basically get user the idea about the path to the section)&lt;/p&gt;

&lt;p&gt;How can i do so? Any suggestions is highly appreciated.&lt;/p&gt;

</description>
      <category>graphql</category>
      <category>systemdesign</category>
      <category>scalability</category>
      <category>api</category>
    </item>
  </channel>
</rss>
