Skip to content

Conversation

@gnawf
Copy link
Contributor

@gnawf gnawf commented Mar 30, 2023

Built on top of #3156

@gnawf gnawf force-pushed the check-for-default-value-changes branch from 5580c8c to 7562178 Compare March 30, 2023 23:11
@gnawf gnawf force-pushed the check-for-default-value-changes branch from 7562178 to 532042e Compare March 31, 2023 01:49
editOperation, List<EditOperation> editOperations, Mapping mapping) {
private void typeEdgeInsertedForInputField(EditOperation editOperation,
List<EditOperation> editOperations,
Mapping mapping) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just reformat

String newDefaultValue = getDefaultValueFromEdgeLabel(editOperation.getTargetEdge());
if (!oldDefaultValue.equals(newDefaultValue)) {
getObjectModification(object.getName()).getDetails().add(new ObjectFieldArgumentDefaultValueModification(field.getName(), argument.getName(), oldDefaultValue, newDefaultValue));
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added this, which was missing. It's done in some other cases.

@gnawf
Copy link
Contributor Author

gnawf commented Mar 31, 2023

Rebased onto master after #3156 was just merged.

@gnawf gnawf marked this pull request as ready for review March 31, 2023 02:02
@dondonz dondonz added this pull request to the merge queue Mar 31, 2023
Merged via the queue into graphql-java:master with commit c8fe100 Mar 31, 2023
@dondonz dondonz added this to the 2023 July milestone Apr 17, 2023
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.

2 participants