Hello. Is there a way to configure Apollo Kotlin t...
# apollo-kotlin
m
Hello. Is there a way to configure Apollo Kotlin to fail the build if a deprecated field is being used in any
*.graphql
files? Thanks in advance!
m
This should do it:
Copy code
apollo {
  service("api") {
    warnOnDeprecatedUsages.set(true)
    failOnWarnings.set(true)
  }
}
🙏 1
m
Oh sweet! I'll give that a shot. Thank you Martin!
👍 1