Skip to content

Conversation

martinbonnin
Copy link
Contributor

@martinbonnin martinbonnin commented Oct 3, 2025

Closes #6516

apollo {
  service("service") {
    packageName.set("com.example")
    issueSeverity("UnusedFragment", "ignore")
  }
}

Deprecate warnOnDeprecatedUsage and fieldsOnDisjointTypesMustMerge that can now be replaced by setting the desired severity.

@martinbonnin martinbonnin requested a review from BoD as a code owner October 3, 2025 16:10
@apollo-librarian
Copy link

apollo-librarian bot commented Oct 3, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: c7be8aa3cf5e3209fcecb761
Build Logs: View logs

Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

public abstract fun getCodegenModels ()Ljava/lang/String;
public abstract fun getDecapitalizeFields ()Ljava/lang/Boolean;
public abstract fun getFailOnWarnings ()Ljava/lang/Boolean;
public abstract fun getFieldsOnDisjointTypesMustMerge ()Ljava/lang/Boolean;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did I just break the IJ plugin?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, yes indeed this is used by the plugin. I guess you can just return false instead, and deprecate it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha 👍

@martinbonnin martinbonnin merged commit 3ebe171 into main Oct 6, 2025
7 checks passed
@martinbonnin martinbonnin deleted the issue-severities branch October 6, 2025 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make issue level configurable

2 participants