Skip to content

Commit

Permalink
deprecate operationIdGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Apr 24, 2024
1 parent 52bea72 commit 5bb0888
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
package com.apollographql.apollo3.compiler

import com.apollographql.apollo3.annotations.ApolloDeprecatedSince
import java.nio.charset.StandardCharsets
import java.security.MessageDigest

@Suppress("DEPRECATION")
@Deprecated("Use ApolloCompilerPlugin.operationIds() instead. See https://go.apollo.dev/ak-compiler-plugins for more details.")
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
interface OperationIdGenerator {
/**
* computes an id for the given operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ interface Service {
*
* Default value: [OperationIdGenerator.Sha256]
*/
@Suppress("DEPRECATION")
@Deprecated("Use ApolloCompilerPlugin.operationIds() instead. See https://go.apollo.dev/ak-compiler-plugins for more details.")
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
val operationIdGenerator: Property<OperationIdGenerator>

/**
Expand Down

0 comments on commit 5bb0888

Please sign in to comment.