Skip to content

Commit

Permalink
Deprecate Preprocessors
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed May 27, 2023
1 parent 6d16761 commit 65c53c2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import com.sksamuel.hoplite.DecoderContext
* which will perform the task of descending into child nodes when a container node
* is encountered.
*/
@Deprecated("Preprocessors are deprecated in favour of Resolvers which are lazily applied, so support nesting.")
fun interface Preprocessor {
fun process(node: Node, context: DecoderContext): ConfigResult<Node>
}
Expand Down

0 comments on commit 65c53c2

Please sign in to comment.