Open
Description
input
message User {
// Required.
int64 id = 1 [graphql.field.id = true];
}
output
export const User = objectType({
name: "User",
definition(t) {
t.field.("databaseId", {
type: nonNull("ID"),
resolve(root) { return root.getId() }
});
}
});
Metadata
Assignees
Labels
No labels