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

[Issue-22] Reflection: Support Arrays #23

Merged
merged 4 commits into from
May 18, 2023
Merged

Conversation

brady-aiello
Copy link
Owner

[Issue #22 ]
The reflection implementation needs to support Arrays by themselves, as well as members of data classes. They also need to be able to accomodate primitives and data classes as their type parameter.

[Fix]
Follow the logic of List, just with a different constructor. Add a DeepPrintReflectConfig data class to simplify config, and keep the main deepPrintReflection() function smaller.

[Test]
Added unit tests that cover all 4 listed scenarios

[Issue]
The reflection implementation needs to support Arrays by themselves, as
well as members of data classes. They also need to be able to accomodate
primitives and data classes as their type parameter.

[Fix]
Follow the logic of List, just with a different constructor.
Add a DeepPrintReflectConfig data class to simplify config, and keep the
main deepPrintReflection() function smaller.

[Test]
Added unit tests that cover all 4 listed scenarios
@brady-aiello brady-aiello merged commit 04e07b5 into main May 18, 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.

1 participant