Skip to content

Commit

Permalink
add a note about exception handling (#5870)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Apr 30, 2024
1 parent c63ee72 commit 4e70750
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ import com.apollographql.apollo3.compiler.operationoutput.OperationId
typealias Plugin = ApolloCompilerPlugin

/**
* Entry point for customizing the behaviour of the Apollo Compiler besides the
* already existing options
* [ApolloCompilerPlugin] allows to customize the behaviour of the Apollo Compiler.
*
* [ApolloCompilerPlugin] is run in an isolated classloader. You may throw from [ApolloCompilerPlugin] methods to fail the build
* but custom exception classes are not accessible from the calling environment like Gradle for an example.
* Prefer throwing regular Java exception classes.
*/
interface ApolloCompilerPlugin {
/**
Expand Down

0 comments on commit 4e70750

Please sign in to comment.