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

Implementation of Iron library #81

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Implementation of Iron library #81

wants to merge 6 commits into from

Conversation

dagmendez
Copy link
Collaborator

@dagmendez dagmendez commented Dec 27, 2023

This PR seeks to reduce the boilerplate of the app by implementing the iron library.

The reduction is visible in the total changes: +168 −769

Copy link
Contributor

@fedefernandez fedefernandez left a comment

Choose a reason for hiding this comment

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

LGTM
download

Comment on lines +33 to +34
.setAppName(sparkProcessorConfiguration.app.appName.toString)
.setMaster(sparkProcessorConfiguration.app.masterUrl.toString)
Copy link
Contributor

Choose a reason for hiding this comment

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

toString can lead to some issues, as sometimes it is implemented with the hashcode or other stuff. Based on the specification, toString means a readable object string and shouldn't be treated as a value. Does that type have something like .value available?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have been iterating on this library at the client and .toString is also not recommended. There is a better use of the library. I will probably update this PR with the last team agreement. Soon!

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