orchestrator-core icon indicating copy to clipboard operation
orchestrator-core copied to clipboard

Improve resolving of ' In-use by subscription(s)' RT using dataloaders

Open DutchBen opened this issue 1 year ago • 1 comments

When displaying the 'In-use by subscription(s)' on the subscription detail page we use the json value from that field to make a graphql call to resolve them to name, description and product name. See: rtk/endpoints/subscriptionDetail.ts rtk/endpoints/subscriptionInUseByRelationQuery.ts components/WfoSubscription/WfoInUseByRelations.tsx

This could be improved if the backend resolves the field subscriptiondetail >> producBlockInstances >> inUseByRelations with these fields instead of a json object as it is now.

DutchBen avatar Apr 18 '24 14:04 DutchBen

Also discussed that about the productBlockInstances with @mrijk similarly. issue:https://github.com/workfloworchestrator/orchestrator-ui-library/issues/782

There could be a resolver for the Owner Subscription Description for a product block, not sure if it should be part of this specific issue.

Georgi2704 avatar Apr 19 '24 09:04 Georgi2704

I think this can be closed, updated in https://github.com/workfloworchestrator/orchestrator-core/pull/633

tjeerddie avatar Feb 25 '25 08:02 tjeerddie

fixed in #633

hanstrompert avatar Mar 03 '25 10:03 hanstrompert