Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CustomOptionsFlags public #6587

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/HotChocolate/Core/src/Execution/Processing/Selection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected Selection(Selection selection)
/// <inheritdoc />
public int Id { get; }

internal CustomOptionsFlags CustomOptions { get; private set; }
public CustomOptionsFlags CustomOptions { get; private set; }

/// <inheritdoc />
public SelectionExecutionStrategy Strategy { get; private set; }
Expand Down Expand Up @@ -320,7 +320,7 @@ internal void MarkAsStream(long ifCondition)
_flags |= Flags.Stream;
}

internal void SetOption(CustomOptionsFlags customOptions)
public void SetOption(CustomOptionsFlags customOptions)
{
if ((_flags & Flags.Sealed) == Flags.Sealed)
{
Expand Down Expand Up @@ -390,7 +390,7 @@ private enum Flags
}

[Flags]
internal enum CustomOptionsFlags : byte
public enum CustomOptionsFlags : byte
{
None = 0,
Option1 = 1,
Expand Down
Loading