-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[699] Only expose RepresentationMetadata in most of the GraphQL Schema
In almost all locations where we used to return a full Representation (or a concrete Diagram), only expose the new RepresentationMetadata type. The only exception is in the subscription, where we actually *need* the full representation's content. This ensures the underlying's representation content (e.g. the nodes/edges/etc. on a diagram) can not be accessed by the frontend except in the specific case where it is needed. This change is purely on the GraphQL Schema level and does not change anything to which Java objects are loaded/manipulated on the backend. It just makes sure that except for the case of refresh events, only the metadata fields can be requested by and returned to the frontend. Bug: #699 Signed-off-by: Pierre-Charles David <[email protected]>
- Loading branch information
Showing
2 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters