Skip to content

Commit

Permalink
Added missing ModuleOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Apr 22, 2022
1 parent d881f23 commit c226803
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/HotChocolate/Core/src/Abstractions/ModuleOptions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using System;

namespace HotChocolate;

/// <summary>
/// The source generator module options.
/// </summary>
[Flags]
public enum ModuleOptions
{
/// <summary>
/// Default options.
/// </summary>
Default = RegisterDataLoader | RegisterTypes,

/// <summary>
/// Register types with the source generated module.
/// </summary>
RegisterTypes = 1,

/// <summary>
/// Register DataLoader with the source generated module.
/// </summary>
RegisterDataLoader = 2
}

0 comments on commit c226803

Please sign in to comment.