title: Define ID Scalar Type in AWS AppSync
body: <p>I am migrating some existing Go code into the AWS AppSync application.  For the most part this has been a fairly easy process.  However, I am running into issues with the <em>ID</em> scalar.  In my existing code base, <em>ID</em> is backed by an Int.  AppSync is treating <em>ID</em> as a String type.  The documentation here <a href="https://docs.aws.amazon.com/appsync/latest/devguide/designing-your-schema.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/appsync/latest/devguide/designing-your-schema.html</a> under the <em>Defining a Todo Type</em> states:</p>
  
  <blockquote>
    <p>The ID scalar type is a unique identifier that can be either String or Int. You can control these in your resolver mapping templates for automatic assignment, which is covered later. </p>
  </blockquote>
  
  <p>However I cannot find anywhere in the documentation where you can specify if the ID scalar is an Int or a String. Is there a way to change the ID type in the mapping templates in AppSync like the documentation suggests?</p>