But by searching it calls with string:
let post = await BlogPost.primaryKey.get("first-blog-post");
It gave me error notification in VS-Code. I suppose it should be hashed to string:
public static readonly primaryKey: Query.HashPrimaryKey<BlogPost, string>;
In the document on https://serverless-seoul.github.io/dynamorm/docs/quick-start it hashes the primaryKey to number:
public static readonly primaryKey: Query.HashPrimaryKey<BlogPost, number>;
But by searching it calls with string:
let post = await BlogPost.primaryKey.get("first-blog-post");
It gave me error notification in VS-Code. I suppose it should be hashed to string:
public static readonly primaryKey: Query.HashPrimaryKey<BlogPost, string>;
Shouldn't it?