input ```proto message User { // Required. int64 id = 1 [graphql.field.id = true]; } ``` output ```ts export const User = objectType({ name: "User", definition(t) { t.field.("databaseId", { type: nonNull("ID"), resolve(root) { return root.getId() } }); } }); ```
input
output