-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Open
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
It would be nice to allow transformations from JSON documents to models in the playground. While the backend already supports receiving a JSON document under the json
field of the request payload, the frontend code path always populates the flexmi
and emfatic
fields.
epsilon-website/playground/js/Playground.js
Lines 248 to 262 in b5e9808
function editorsToJsonObject() { | |
return { | |
"language": language, | |
"outputType": outputType, | |
"outputLanguage": outputLanguage, | |
"program": programPanel.getValue(), | |
"secondProgram": secondProgramPanel.getValue(), | |
"emfatic": firstMetamodelPanel.getValue(), | |
"flexmi": firstModelPanel.getValue(), | |
"secondEmfatic": secondMetamodelPanel.getValue(), | |
"secondFlexmi": secondModelPanel.getValue(), | |
"thirdEmfatic": thirdMetamodelPanel.getValue(), | |
"thirdFlexmi": thirdModelPanel.getValue() | |
}; | |
} |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request