public class GraphqlTypeUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
PATH_VARIABLE |
static String |
REQUEST_BODY |
| 限定符和类型 | 方法和说明 |
|---|---|
static graphql.schema.GraphQLEnumType |
addAndGetGraphQLEnumType(RegistryState registryState,
String moduleName,
Entity entity)
create enum type
|
static graphql.schema.GraphQLType |
getBaseGraphQLType(String typeName) |
static graphql.schema.GraphQLOutputType |
getFieldGraphQLOutputType(graphql.schema.GraphQLOutputType type,
String fieldName) |
static String |
getFieldTypeName(graphql.schema.GraphQLType fieldType) |
static graphql.schema.GraphQLType |
getGraphqlInputType(RegistryState registryState,
String moduleName,
String entityName) |
static String |
getModuleTypeName(Entity entity,
String moduleName) |
static String |
getModuleTypeName(String groupName,
String simpleEntityName) |
public static graphql.schema.GraphQLType getBaseGraphQLType(String typeName)
public static String getFieldTypeName(graphql.schema.GraphQLType fieldType)
public static graphql.schema.GraphQLOutputType getFieldGraphQLOutputType(graphql.schema.GraphQLOutputType type,
String fieldName)
public static graphql.schema.GraphQLType getGraphqlInputType(RegistryState registryState, String moduleName, String entityName)
public static graphql.schema.GraphQLEnumType addAndGetGraphQLEnumType(RegistryState registryState, String moduleName, Entity entity)
Copyright © 2020. All rights reserved.