-
-
Notifications
You must be signed in to change notification settings - Fork 677
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
POC: nested input support #452
Conversation
Codecov Report
@@ Coverage Diff @@
## master #452 +/- ##
==========================================
+ Coverage 94.65% 94.75% +0.09%
==========================================
Files 71 72 +1
Lines 1160 1201 +41
Branches 218 227 +9
==========================================
+ Hits 1098 1138 +40
Misses 59 59
- Partials 3 4 +1
Continue to review full report at Codecov.
|
/cc @MichalLytek |
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.
Checked the solution and it fails on transforming arrays - just breaks completely and the data is lost.
@j Your idea is good! 💪 I will try to work on this to support all cases like |
Closing in favor of #462 🔒 |
This is an attempt at fixing inputs.
I'm doing this by iterating over the input type fields, checking if the field's type is an input type, and if so, hydrating the argument into the class. I attempted to make it more performant by caching the tree based off the param metadata's type.