-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ import { | |
| } from '@hypertrace/graphql-client'; | ||
| import { Observable } from 'rxjs'; | ||
| import { map, throwIfEmpty } from 'rxjs/operators'; | ||
| import { Entity, EntityType } from '../../../../../model/schema/entity'; | ||
| import { Entity, EntityType, ObservabilityEntityType } from '../../../../../model/schema/entity'; | ||
| import { GraphQlEntityFilter } from '../../../../../model/schema/filter/entity/graphql-entity-filter'; | ||
| import { EntitiesGraphqlQueryBuilderService } from '../entities-graphql-query-builder.service'; | ||
| import { | ||
|
|
@@ -56,7 +56,9 @@ export class EntityGraphQlQueryHandlerService implements GraphQlQueryHandler<Gra | |
| limit: 1, | ||
| timeRange: request.timeRange, | ||
| properties: request.properties, | ||
| 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 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This would apply always right? Even if we disabled this functionality elsewhere
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| }; | ||
| } | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.