[forge-issues] [JBoss JIRA] (FORGE-2734) Result should allow an entity POJO to be added
James Strachan (JIRA)
issues at jboss.org
Thu Mar 2 12:15:00 EST 2017
[ https://issues.jboss.org/browse/FORGE-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13371718#comment-13371718 ]
James Strachan commented on FORGE-2734:
---------------------------------------
until we change the API we could use a canonical key in the attributeMap to return the entity?
Also we maybe wanna add an optional media type maybe? e.g. "application/json"
> Result should allow an entity POJO to be added
> ----------------------------------------------
>
> Key: FORGE-2734
> URL: https://issues.jboss.org/browse/FORGE-2734
> Project: Forge
> Issue Type: Enhancement
> Reporter: James Strachan
>
> when using an IDE or a REST API it can be handy to have a command that returns some result object that can be a blob of data that can be parsed/used by a program rather than textual console output.
> e.g. return a blob of JSON from a REST GET/POST on a forge command.
> We have a message a String which is great for textual status messages. But it might be nice to add an optional _entity_ property which folks could access from an IDE or REST API
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the forge-issues
mailing list