You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ariatosca.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/03 11:49:00 UTC

[jira] [Commented] (ARIA-417) Encoding models to json is too strict

    [ https://issues.apache.org/jira/browse/ARIA-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16275892#comment-16275892 ] 

ASF GitHub Bot commented on ARIA-417:
-------------------------------------

mxmrlv opened a new pull request #211: ARIA-417 Encoding models to json is too strict
URL: https://github.com/apache/incubator-ariatosca/pull/211
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Encoding models to json is too strict
> -------------------------------------
>
>                 Key: ARIA-417
>                 URL: https://issues.apache.org/jira/browse/ARIA-417
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Maxim Orlov
>            Assignee: Maxim Orlov
>            Priority: Minor
>
> The current ModelJSONEncoder checks if the model is an instance of ModelMixin, however we should try and decode the same way even if the class is not an instance of that model, but does provide the same API. This would enable to achieve the usage of the same encoding mechanism for models which support the same api.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)