-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Throw an error when layout property is not string #4142
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #4142 +/- ##
=========================================
+ Coverage 81.8% 82.24% +0.44%
=========================================
Files 29 29
Lines 1561 1549 -12
Branches 409 408 -1
=========================================
- Hits 1277 1274 -3
+ Misses 224 216 -8
+ Partials 60 59 -1
Continue to review full report at Codecov.
|
Am I missing something or we should support layout as a function for dynamic layouts? |
@pi0 Dang, you are correct! Almost forget that use case 🙈
|
@pi0 @manniL Although I checked the |
@suusan2go. Thanks for checking that. I just wanted to to endure that it's happening. |
Well, I fast to fast with my conclusion there 🙈 @suusan2go Thank you for looking into it! The last thing I'd consider is maybe only throwing an |
@manniL Thank you for your comment! I changed my code to throw an error only in debug mode. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Types of changes
Description
Resolves: #4035
Avoid using non-string value as layout property.
Checklist: