stitch targetRef and backwards compat inject it on read
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
+1
@@ -57,6 +57,7 @@ const defaultEntityListResponse: GetEntitiesResponse = {
|
||||
relations: [
|
||||
{
|
||||
type: RELATION_OWNED_BY,
|
||||
targetRef: 'group:default/my-team',
|
||||
target: { name: 'team-a', kind: 'group', namespace: 'default' },
|
||||
},
|
||||
],
|
||||
|
||||
+1
@@ -57,6 +57,7 @@ const defaultEntityListResponse: GetEntitiesResponse = {
|
||||
relations: [
|
||||
{
|
||||
type: RELATION_OWNED_BY,
|
||||
targetRef: 'group:default/team-a',
|
||||
target: { name: 'team-a', kind: 'group', namespace: 'default' },
|
||||
},
|
||||
],
|
||||
|
||||
+1
@@ -57,6 +57,7 @@ const defaultEntityListResponse: GetEntitiesResponse = {
|
||||
relations: [
|
||||
{
|
||||
type: RELATION_OWNED_BY,
|
||||
targetRef: 'group:default/team-a',
|
||||
target: { name: 'team-a', kind: 'group', namespace: 'default' },
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user