-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
chore: Automatic UserMappingOptions methods implementation #41
Conversation
I’m uncertain if adding new dependencies just to time this refactoring is justified. |
@Weijun-H 👍🏾 Indeed this was also my concern given it's currently used in one place. However, I discussed this with a team member. It was deemed ok since it's lightweight. It would be perfectly valid if the consensus is to put this aside for now to avoid further dependencies. It's not a critical change anyway. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! If we're going to refactor, let's apply this change everywhere.
How about merging this PR first and then splitting the refactoring task into multiple "good first issue" tasks? |
That sounds great. Could you please help open up the issues and link them in the PR here? Then we can merge the PR |
file a ticket #80 to track |
953d8b4
to
269172f
Compare
* added strum to automatically provide as_ref & iter methods to enums * convert to strum --------- Co-authored-by: Ming Ying <[email protected]>
* added strum to automatically provide as_ref & iter methods to enums * convert to strum --------- Co-authored-by: Ming Ying <[email protected]>
Ticket(s) Closed
DeltaOption
by using strum #82IcebergOption
by using strum #83ParquetOption
by using strum #84What
Added a dependency on strum create to automatically provide
as_ref
&iter
methods to enums. More can be added if needed.Why
The strum can be used to remove useful manual implementations
How
Tests
Made sure the
as_ref
&iter
methods provide the expected output.