add constant values

This commit is contained in:
wusheng 2018-01-11 16:19:48 +08:00
parent b2706cf24c
commit 50e09852db
1 changed files with 4 additions and 1 deletions

View File

@ -90,7 +90,10 @@ interface Node {
# Incoming request node, means User or outside system access the cluster from this.
type VisualUserNode implements Node {
id: ID!
name: String
# Constant, value = "User"
name: String!
# Constant, value = "USER"
type: String!
}
# The Call represents a directed distributed call,