-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Similar to #152 this reverts the refactoring done to fragment conditions in #119 as it is no longer needed and causes unnecessary runtime overhead.
- Loading branch information
1 parent
2dd4d46
commit b01621d
Showing
4 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
kgraphql/src/main/kotlin/com/apurebase/kgraphql/schema/execution/TypeCondition.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
package com.apurebase.kgraphql.schema.execution | ||
|
||
import com.apurebase.kgraphql.schema.structure.Type | ||
|
||
/** | ||
* type conditions can be declared on fragments | ||
*/ | ||
class TypeCondition(val onType: String) | ||
class TypeCondition(val onType: Type) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters