ariatosca-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIA-417) Encoding models to json is too strict
Date Mon, 04 Dec 2017 13:52:00 GMT

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

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

aviyoop closed 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)

Mime
View raw message