title: How to move fields list fragment interpolation outside of the brackets
body: <p>Here is a mock of the current graphQL I'm working with.</p>
  
  <pre class="lang-js prettyprint-override"><code>const aDynamicListOfFieldsComingFromElsewhere = 'foo bar anotherField etc'
  
  const query = gql`{
    QueryResult: TableName {
      Data {
        id
        name
        ${aDynamicListOfFieldsComingFromElsewhere}
      }
    }
  }`
  </code></pre>
  
  <p>This... functionally speaking, works. But is regarded as a bad approach for multiple reasons, one of which is the linting support provided by eslint-plugin-graphql.</p>
  
  <p>Eslint gives me a hint by giving me the following error:</p>
  
  <pre><code>Invalid interpolation - fragment interpolation must occur outside of the brackets  graphql/template-strings
  </code></pre>
  
  <p>I managed to find some good examples with variables, but none that provided a way to include an externally defined variable.</p>
  
  <p>Thanks in advance for your help!</p>