Next in thread → Next in month →

[OASIS Issue Tracker] (ODATA-563) 5.1.1.4.29: Allow casting strings to primitive types if the string contains the literal representation of an instance of the target type

From
OASIS Issues Tracker <>
Date
2016-01-28T17:21:47+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-563) 5.1.1.4.29: Allow casting strings to primitive types if the string contains the literal representation of an instance of the target type
[ https://issues.oasis-open.org/browse/ODATA-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-563:
-----------------------------

    Fix Version/s: V4.01_WD01
                       (was: V4.2_WD01)

> 5.1.1.4.29: Allow casting strings to primitive types if the string contains the literal representation of an instance of the target type
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ODATA-563
>                 URL: https://issues.oasis-open.org/browse/ODATA-563
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData URL Conventions
>    Affects Versions: V4.0_CS02
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>            Assignee: Ralf Handl
>             Fix For: V4.01_WD01
>
>
> We allow casting of primitive types to string using the literal representation for the source type.
> Unfortunately we forgot to allow the inverted operation: casting a string containing the literal representation of e.g. a Date to Edm.Date, although this was explicitly mentioned in the examples given with ODATA-365.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
Next in thread → Next in month →