-
Notifications
You must be signed in to change notification settings - Fork 825
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
Resource: remove unnecessary diagnostic when accessing attributes #5119
base: main
Are you sure you want to change the base?
Conversation
…le async attributes are resolving
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5119 +/- ##
==========================================
- Coverage 93.21% 93.21% -0.01%
==========================================
Files 315 315
Lines 8096 8094 -2
Branches 1622 1621 -1
==========================================
- Hits 7547 7545 -2
Misses 549 549
|
Hi, thanks for reaching out - I think the reason why this pops up is because there's some other bug somewhere that triggers this message. IIRC the reason why this was put there was the following (some of the decisions made there predate my time on the project, but I'll try to give a summary as I understand it):
At the same time that this feature was introduced, What that means is (from my perspective) is that one of these two statements should be true:
So to summarize: I'm worried we may be hiding a deeper issue here by removing that log. I think that we have to instead try to come up with a solution to the underlying problem. |
Discussion issue: #5114
Since
Resource
already has 2 methods to deal with yet to be resolved attributes (asyncAttributesPending
andwaitForAsyncAttributes
), the diagnostic seems redundant and perhaps misleading (since it's more of a debug message than an actual error).