New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support collection of mixed primitive types and Edm.Untyped #366

Closed
congysu opened this Issue Oct 30, 2015 · 1 comment

Comments

Projects
None yet
5 participants
@congysu
Contributor

congysu commented Oct 30, 2015

Add support for one dimensional array of object for properties, such as [100, "Hello", 200, "World"].

Related OData spec:
· Collection(Edm.PrimitiveType) and Collection(Edm.ComplexType)
cannot be used as the type of a property.
cannot be used as the return type of a function.
http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part3-csdl.html

More:
ODATA-881: Add support for Edm.Untyped
https://issues.oasis-open.org/browse/ODATA-881
ODATA-879 : Support Arrays of Arrays
https://issues.oasis-open.org/browse/ODATA-879

@congysu congysu added this to the 6.15 milestone Dec 29, 2015

@congysu congysu changed the title from Support collection of primitive type to Support collection of mixed primitive types and Edm.Untyped Dec 29, 2015

@zlatko-michailov

This comment has been minimized.

Contributor

zlatko-michailov commented Jan 4, 2016

My PR on #315 and #317 makes it possible to write:

ODataCollectionValue() 
{
    Items = new ODataUntypedValue[] {...}
}

There is a unit test for that.

What's left to do is to recognize "Edm.Untyped" as a built-in type in EDM.

@challenh challenh modified the milestones: 6.15, 6.15-TBD Mar 1, 2016

@LaylaLiu LaylaLiu modified the milestones: 7.0, 6.15-TBD Mar 18, 2016

@LaylaLiu LaylaLiu assigned challenh and unassigned lewischeng-ms Mar 18, 2016

@LaylaLiu LaylaLiu added the ready label Mar 18, 2016

@LaylaLiu LaylaLiu closed this Jun 24, 2016

@LaylaLiu LaylaLiu removed the ready label Jun 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment