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

Delete unused flag. It's set inside Nadel.Builder instead #622

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
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
8 changes: 0 additions & 8 deletions lib/src/main/java/graphql/nadel/NadelExecutionHints.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ data class NadelExecutionHints(
val sharedTypeRenames: NadelSharedTypeRenamesHint,
val shortCircuitEmptyQuery: NadelShortCircuitEmptyQueryHint,
val virtualTypeSupport: NadelVirtualTypeSupportHint,
val validationBlueprint: NadelValidationBlueprintHint,
) {
/**
* Returns a builder with the same field values as this object.
Expand All @@ -37,7 +36,6 @@ data class NadelExecutionHints(
private var shortCircuitEmptyQuery = NadelShortCircuitEmptyQueryHint { false }
private var sharedTypeRenames = NadelSharedTypeRenamesHint { false }
private var virtualTypeSupport = NadelVirtualTypeSupportHint { false }
private var validationBlueprint = NadelValidationBlueprintHint { false }

constructor()

Expand Down Expand Up @@ -83,11 +81,6 @@ data class NadelExecutionHints(
return this
}

fun validationBlueprint(flag: NadelValidationBlueprintHint): Builder {
validationBlueprint = flag
return this
}

fun build(): NadelExecutionHints {
return NadelExecutionHints(
legacyOperationNames,
Expand All @@ -97,7 +90,6 @@ data class NadelExecutionHints(
sharedTypeRenames,
shortCircuitEmptyQuery,
virtualTypeSupport,
validationBlueprint,
)
}
}
Expand Down
Loading