Skip to content

Commit

Permalink
TransitiveCompiler has been upstreamed
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz committed Jul 16, 2024
1 parent 885c6cd commit dcd8356
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import scala.collection.immutable.ListMap

object QueryCompilerVisitor {
val full: Schema ~> QueryCompiler =
new TransitiveCompiler(AddDynamicRefinements) andThen QueryCompilerVisitorInternal
Schema.transformTransitivelyK(AddDynamicRefinements) andThen QueryCompilerVisitorInternal
}

object QueryCompilerVisitorInternal extends SchemaVisitor[QueryCompiler] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import smithy4s.~>
/** Reifies refinement hints into the schema.
*
* Notably, this does NOT recurse! In order to traverse an entire schema recursively, this has to
* be wrapped in TransitiveCompiler. This is done for separation of concerns.
* be wrapped in transformTransitivelyK. This is done for separation of concerns.
*/
object AddDynamicRefinements extends (Schema ~> Schema) {

Expand Down

This file was deleted.

0 comments on commit dcd8356

Please sign in to comment.