You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ariatosca.apache.org by "Maxim Orlov (JIRA)" <ji...@apache.org> on 2017/05/28 08:22:04 UTC

[jira] [Updated] (ARIA-262) Inconsistent ARIA attributes behavior

     [ https://issues.apache.org/jira/browse/ARIA-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Orlov updated ARIA-262:
-----------------------------
    Description: 
ARIA provides sugaring for node attributes. However this sugaring is somewhat limited, as it sugars ctx accessed attributes. e.g. Under NodeOperationContext `ctx.node.attributes` has a dict-like behavior, where the value is another object with a dict-like behavior. This is provided by the sugaring. 
However `ctx.node.relationships[0].target_node.attributes` provides a dict where the value is of type Parameter, accessing the value of this Parameter require `param. This creates inconsistency with regards to access to attributes.

  was:ARIA provides sugaring for node attributes. However this sugaring is somewhat limited, as it sugars ctx accessed attributes. e.g. Under NodeOperationContext `ctx.node.attributes` has a dict-like behavior, where the value is another object with a dict-like behavior. This is provided by the sugaring. while `ctx.node.relationships[0].target_node.attributes` 


> Inconsistent ARIA attributes behavior
> -------------------------------------
>
>                 Key: ARIA-262
>                 URL: https://issues.apache.org/jira/browse/ARIA-262
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Maxim Orlov
>
> ARIA provides sugaring for node attributes. However this sugaring is somewhat limited, as it sugars ctx accessed attributes. e.g. Under NodeOperationContext `ctx.node.attributes` has a dict-like behavior, where the value is another object with a dict-like behavior. This is provided by the sugaring. 
> However `ctx.node.relationships[0].target_node.attributes` provides a dict where the value is of type Parameter, accessing the value of this Parameter require `param. This creates inconsistency with regards to access to attributes.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)