Skip to content

Refactor to remove build warnings #611

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

Merged
merged 6 commits into from
Feb 29, 2020

Conversation

smyrick
Copy link
Contributor

@smyrick smyrick commented Feb 23, 2020

📝 Description

Refactor library and test code to remove some build and IDE warnings. This is a non-functional change.

🔗 Related Issues

N\A

Shane Myrick added 2 commits February 23, 2020 13:31
Non-functional change that just adds some internal documentation and cleans up some build and IDE warnings
@smyrick smyrick added changes: patch Changes require a patch version type: refactor Code changes that have no impact on users labels Feb 23, 2020
@dariuszkuc
Copy link
Collaborator

The changes for the RouteConfiguration are there to provide more internal documentation and suppress the warning we had when calling jackson to read the post body from a suspend function. That is no longer relevant if we move it to its own private function.

Warning was valid - reading body is a blocking operation. Moving this code around doesn't change this. Personally I am also unsure whether the new refactored version of RouteConfiguration is that much easier to follow (i.e. you got to jump through multiple methods to see what is happening).

@dariuszkuc dariuszkuc merged commit a86e78c into ExpediaGroup:master Feb 29, 2020
@smyrick smyrick deleted the refactor-build-warnings branch March 1, 2020 16:19
dariuszkuc pushed a commit to dariuszkuc/graphql-kotlin that referenced this pull request Aug 5, 2022
* Refactor to clean up some build warnings

Non-functional change that just adds some internal documentation and cleans up some build and IDE warnings

* Suppress unused wanrings in tests

* Undo RouteConfiguration changes

* Move strings to const

* Move constants to internal file reference

* Remove unessacary function calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes: patch Changes require a patch version type: refactor Code changes that have no impact on users
Development

Successfully merging this pull request may close these issues.

2 participants