Skip to content

Commit

Permalink
removing unused directives
Browse files Browse the repository at this point in the history
  • Loading branch information
sbarker2 committed Nov 8, 2023
1 parent 8dd8b36 commit 507589c
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions lib/src/main/java/graphql/nadel/schema/NadelDirectives.kt
Original file line number Diff line number Diff line change
Expand Up @@ -86,58 +86,6 @@ object NadelDirectives {
)
.build()

// val nadelWhenConditionPredicateStartsWithDefinition = newInputObjectDefinition()
// .name("NadelWhenConditionPredicateStartsWith")
// .description("When condition predicate for startsWith")
// .inputValueDefinition(
// name = "startsWith",
// type = nonNull(GraphQLString),
// )
// .build()
//
// val nadelWhenConditionPredicateEqualsDefinition = newInputObjectDefinition()
// .name("NadelWhenConditionPredicateEquals")
// .description("When condition predicate for equals")
// .inputValueDefinition(
// name = "equals",
// type = nonNull(ExtendedScalars.Json),
// )
// .build()
//
// val nadelWhenConditionPredicateMatchesDefinition = newInputObjectDefinition()
// .name("NadelWhenConditionPredicateMatches")
// .description("When condition predicate for matches")
// .inputValueDefinition(
// name = "matches",
// type = nonNull(GraphQLString),
// )
// .build()
//
// val nadelWhenConditionPredicateUnion = GraphQLUnionType.newUnionType()
// .name("NadelWhenConditionPredicateUnion")
// .description("Union of when condition predicates")
// .possibleType(nadelWhenConditionPredicateStartsWithDefinition)
// .possibleType(nadelWhenConditionPredicateEqualsDefinition)
// .possibleType(nadelWhenConditionPredicateMatchesDefinition)
// .build()

// val nadelWhenConditionPredicateDefinition = newInputObjectDefinition()
// .name("NadelWhenConditionPredicate")
// .description("This allows you to specify a when condition to filter hydrations")
// .inputValueDefinition(
// name = "startsWith",
// type = nonNull(GraphQLString),
// )
// .inputValueDefinition(
// name = "equals",
// type = nonNull(ExtendedScalars.Json),
// )
// .inputValueDefinition(
// name = "matches",
// type = nonNull(GraphQLString),
// )
// .build()

val nadelWhenConditionPredicateDefinition = Parser.parse(
"""
input NadelWhenConditionPredicate @oneOf {
Expand Down

0 comments on commit 507589c

Please sign in to comment.