title: My Loopback 4 model has an id of type string but it reports as number in /explorer
body: <ul>
  <li>Loopback 4</li>
  <li>MongoDB v4.2.3</li>
  </ul>
  <p>I'm teaching myself Loopback 4 and I have a problem in handling <em>id</em>. Even though I have my model id type set to string it reports it's of type number in <em>/explorer</em>. My goal is to use mongodb generated ids but this is blocking my progress.</p>
  <p><strong>My model:</strong></p>
  <pre class="lang-js prettyprint-override"><code>import {Entity, model, property} from '@loopback/repository';
  
  @model({
    settings: {
      strictObjectIDCoercion: true,
    },
  })
  export class SearchInputs extends Entity {
    @property({
      type: 'string',
      id: true,
    })
    id?: string;
  
  ...
  </code></pre>
  <p>In explorer I can fetch all the documents in the database but I can not fetch any document by id</p>
  <p><a href="https://i.stack.imgur.com/tzxyx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tzxyx.png" alt="enter image description here" /></a></p>
  <p>I've read all the documentation and various tutorials and this is never mentioned. Does any one know why I have this problem?</p>