Feathers JS nested Routing or creating alternate services
<p>The project I'm working on uses the feathers JS framework server side. Many of the services have hooks (or middleware) that make other calls and attach data before sending back to the client.  If I have a new feature that needs to query a database but for a only few specific things I'm thinking I don't want to use the already built out "find" method for this database query as that "find" method has many other unneeded hooks and calls to other databases to get data I do not need for this new query on my feature.</p>

<p>My two solutions so far:</p>

<ol>
<li><p>I could use the standard "find" query and just write if statements in all hooks that check for a specific string parameter that can be passed in on client side so these hooks are deactivated on this specific call but that seems tedious especially if I find this need for several other different services that have already been built out.</p></li>
<li><p>I initialize a second service below my main service so if my main service is:</p>

<pre><code>app.use('/comments', new JHService(options));
</code></pre>

<p>right underneath I write:</p>

<pre><code>app.use('/comments/allParticipants', new JHService(options));
</code></pre>

<p>And then attach a whole new set of hooks for that service.  Basically it's a whole new service with the only relation to the origin in that the first part of it's name is 'comments' Since I'm new to feathers I'm not sure if that is a performant or optimal solution.</p></li>
</ol>

<p>Is there a better solution then those options? or is option 1 or option 2 the most correct way to solve my current issue?</p>