Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for default value changes #3157

Merged
merged 1 commit into from Mar 31, 2023

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
1 check passed
@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.

None yet

2 participants