File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
src/main/java/graphql/annotations Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -102,4 +102,20 @@ public interface GraphQLAnnotationsProcessor {
102102 * @return a {@link GraphQLInputObjectType}
103103 */
104104 GraphQLInputObjectType getInputObject (GraphQLObjectType graphQLType , String newNamePrefix );
105+
106+ /**
107+ * Register a new type extension class. This extension will be used when the extended object will be created.
108+ * The class must have a {@link GraphQLTypeExtension} annotation.
109+ *
110+ * @param objectClass The extension class to register
111+ */
112+ void registerTypeExtension (Class <?> objectClass );
113+
114+ /**
115+ * Unregister a type extension class.
116+ *
117+ * @param objectClass The extension class to unregister
118+ */
119+ void unregisterTypeExtension (Class <?> objectClass );
120+
105121}
You can’t perform that action at this time.
0 commit comments