ariatosca-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Orlov (JIRA)" <>
Subject [jira] [Created] (ARIA-417) Encoding models to json is too strict
Date Sun, 03 Dec 2017 11:46:00 GMT
Maxim Orlov created ARIA-417:

             Summary: Encoding models to json is too strict
                 Key: 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

View raw message