diff --git a/src/HotChocolate/Core/src/Abstractions/ModuleOptions.cs b/src/HotChocolate/Core/src/Abstractions/ModuleOptions.cs new file mode 100644 index 00000000000..9ffaf7310c4 --- /dev/null +++ b/src/HotChocolate/Core/src/Abstractions/ModuleOptions.cs @@ -0,0 +1,25 @@ +using System; + +namespace HotChocolate; + +/// +/// The source generator module options. +/// +[Flags] +public enum ModuleOptions +{ + /// + /// Default options. + /// + Default = RegisterDataLoader | RegisterTypes, + + /// + /// Register types with the source generated module. + /// + RegisterTypes = 1, + + /// + /// Register DataLoader with the source generated module. + /// + RegisterDataLoader = 2 +}