Skip to content

Commit

Permalink
fix(no-code metadata models in ui): fixes bug with rendering renderSp…
Browse files Browse the repository at this point in the history
…ec aspects (#4430)

* fix weakly typed aspects after batchgetv2 change

* remove spurious models
  • Loading branch information
gabe-lyons authored Mar 17, 2022
1 parent aa593c3 commit 2d82531
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ public CompletableFuture<List<RawAspect>> get(DataFetchingEnvironment environmen
return;
}

DataMap aspectPayload = resolvedAspect.getDataMap(resolvedAspect.keySet().iterator().next());

result.setPayload(CODEC.mapToString(aspectPayload));
result.setPayload(CODEC.mapToString(resolvedAspect));
result.setAspectName(aspectSpec.getName());

DataMap renderSpec = aspectSpec.getRenderSpec();
Expand Down

0 comments on commit 2d82531

Please sign in to comment.