Add interface addition event in SchemaDiff by mgadda · Pull Request #3984 · graphql-java/graphql-java
Update `SchemaDiff.checkImplements` to emit ADDITION events for new interfaces. * Add a loop to iterate over new interfaces and check if they are present in old interfaces. * Emit an ADDITION event if a new interface is not present in the old interfaces. * Retain the existing behavior with respect to interface removals. Add a new test case in `SchemaDiffTest.groovy` to verify that `checkImplements` emits ADDITION events for new interfaces. * Add a test case to cover scenarios where new interfaces are added and old interfaces are removed. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/mgadda/graphql-java?shareId=XXXX-XXXX-XXXX-XXXX).