-
Notifications
You must be signed in to change notification settings - Fork 11
feat: additional dependencies for time agnostic apis #612
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #612 +/- ##
=======================================
Coverage 85.17% 85.18%
=======================================
Files 770 770
Lines 15905 15905
Branches 2048 2048
=======================================
+ Hits 13547 13548 +1
+ Misses 2324 2323 -1
Partials 34 34
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
| return cellData; | ||
| case 'object': | ||
| return cellData === null ? undefined : cellData.value; | ||
| return cellData === null ? undefined : cellData.value === null ? undefined : cellData.value; |
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.
nit: cellData?.value ?? undefined
projects/observability/src/shared/components/entity-renderer/entity-renderer.component.ts
Show resolved
Hide resolved
| filters: [new GraphQlEntityFilter(request.id, request.entityType)] | ||
| filters: [new GraphQlEntityFilter(request.id, request.entityType)], | ||
| // If querying for a single API, then always want to includeInactive | ||
| includeInactive: request.entityType === ObservabilityEntityType.Api |
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.
This would apply always right? Even if we disabled this functionality elsewhere
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.
Hmm. Good point. It would. Not sure how to feature flag this cleanly. Open to suggestions.
Description
Some additional changes for Time Agnostic APIs. This fixes an issue with drilling into an API that is fetched in a list using
includeInactive. We now include that property whenever querying for a single API. The second change here is to display null data correctly.