E52B Add toString() implementations for RawVariables and CoercedVariables classes by oliverlockwood · Pull Request #3629 · graphql-java/graphql-java · GitHub
[go: up one dir, main page]

Skip to content

Add toString() implementations for RawVariables and CoercedVariables classes#3629

Merged
bbakerman merged 1 commit intographql-java:masterfrom
oliverlockwood:3628-add-toString-implementations-for-RawVariables-and-CoercedVariables-classes
Jun 12, 2024
Merged

Add toString() implementations for RawVariables and CoercedVariables classes#3629
bbakerman merged 1 commit intographql-java:masterfrom
oliverlockwood:3628-add-toString-implementations-for-RawVariables-and-CoercedVariables-classes

Conversation

@oliverlockwood
Copy link
Contributor

Closes #3628.

I have not bothered doing any unit tests of this very minor change, not least because best practices mean nobody should be relying on the output of a toString() method, anyway. However, if you really want UTs for this, let me know and I can add them.

I have deliberately not put a descriptive wrapper around the toString() call to the internal object; but again, if you would prefer otherwise, please advise.

Thanks in advance for your review.

@bbakerman
Copy link
Member

Thanks for this. Its a small change but all small changes help and I am a big beleiver in good toString() merthods especially when inside a debugger

@bbakerman bbakerman added this pull request to the merge queue Jun 12, 2024
Merged via the queue into graphql-java:master with commit 4512e5b Jun 12, 2024
@oliverlockwood oliverlockwood deleted the 3628-add-toString-implementations-for-RawVariables-and-CoercedVariables-classes branch June 12, 2024 13:15
@oliverlockwood oliverlockwood restored the 3628-add-toString-implementations-for-RawVariables-and-CoercedVariables-classes branch June 12, 2024 13:15
@oliverlockwood oliverlockwood deleted the 3628-add-toString-implementations-for-RawVariables-and-CoercedVariables-classes branch June 12, 2024 13:15
@oliverlockwood
Copy link
Contributor Author

Thanks for this. Its a small change but all small changes help and I am a big beleiver in good toString() merthods especially when inside a debugger

My pleasure. Thanks for being receptive to contributions.

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.

Improve usefulness of toString() method for debug logging an ExecutionInput

2 participants

0