AppsyncServerlessCMS
AppsyncServerlessCMS copied to clipboard
Question about identifiers
Hello,
Here https://github.com/yai333/AppsyncServerlessCMS/blob/master/nodejs/handler.js#L33 I see that in your database you use auto increment integers for the primary keys.
And here https://github.com/yai333/AppsyncServerlessCMS/blob/master/nodejs/schema.graphql#L14 I see you use "id: Int", intead of "id: ID!" or "id: ID". Is there any reason why you are using Int instead of ID? I thought that for identifiers GraphQL had ID type. Should be this field mandatory? (with !)
Thanks a lot!