[
https://issues.apache.org/jira/browse/ARIA-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16275893#comment-16275893
]
ASF GitHub Bot commented on ARIA-417:
-------------------------------------
asfgit commented on issue #211: ARIA-417 Encoding models to json is too strict
URL:
https://github.com/apache/incubator-ariatosca/pull/211#issuecomment-348758528
Can one of the admins verify this patch?
----------------------------------------------------------------
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:
[email protected]
> 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)