Skip to content

Introduce items collection - #1

Draft
mikepizzo wants to merge 69 commits into
Sreejithpin:masterfrom
mikepizzo:IntroduceItemsCollection
Draft

mikepizzo wants to merge 69 commits into
Sreejithpin:masterfrom
mikepizzo:IntroduceItemsCollection

Conversation

@mikepizzo

Copy link
Copy Markdown

One approach to discuss for having legacy Resources property on ResourceSetWrapper, alongside new Items property inherited from ResourceSetWrapperBase.

xuzhg and others added 30 commits December 11, 2019 03:06
…1941)

* Enable $select improvement with select path and nested query options

1. Add the test case to verify the same derived property name
2. Fix the $ref test cases
3. Fix the base address case sensitive problem in the build agent.
4. Fix some failing e2e test cases
5.  Address the comments
1) Fix batch dispose issue (error writing to a closed stream)
2) Fix async batch issues (synchronous write to an asynchronous reader error)
-Case-insensitive header comparison
-Default to JSON Batch response if request is JSON
-Make sure stream is released before reading next request within a batch
-Added/fixed tests for standard and .net core
…hronous writing behavior to avoid possible (though unlikely) breaking change.

Note that any types directly deriving from ODataBatchResponseItem would have to be recompiled due to changes in abstract base class (abstract method now takes a writeAsync parameter).  Seems highly unlikely that other custom types are deriving directly from ODataBatchResponseItem.
In .NET 5, we should clean up the overloads that write to the stream synchronously, and probably make most of this internal (no reason to make the WriteResponseAsync/WriteMessageAsync on ODataBatchResponseItem public).
* Added support for functions and constants in aggregate expression

* Tests for more cannonical functions

* Time tests

* Support for compute transformation in $apply

* Support sorting for columns introduced in compute

* Remove redundant code

* Fix flakyness in AggregateNavigationPropertyWorks

* Fix the ToInt16 overflow during build

* Fix typos

* Make _values field private

* Explicit way to mutate element type and lambda param

* Test to demonstrate that we could run compute on complex entity properties

* Support for complex types

* Simplify keepoing ElementType and LambdaParameter in sync

Co-authored-by: Sam Xu <saxu@microsoft.com>
xuzhg and others added 30 commits April 9, 2020 19:58
* Everything except properties.

Fix tests

Address PR comments

Remove Inline change due to a bug

* Address PR comments and take sam's input

parity between actions and functions

self review

Update tests

fix final set of issues

* Address PR comments

address pr comments

update method
…erty (OData#2160)

* Fix logic for patching entity with complex type dynamic property

* Support patching of complex type dynamic property in a structured type plus tests

* Use string.IsNullOrWhiteSpace

Co-authored-by: John Gathogo <jogathog@microsoft.com>
Add System.Diagnostics.EventLog into ASP.NET Core 3.x E2E test project
* Fix bug 2177 - encode DateTimeOffset value in generated skip token

* Fix bug 2177 - encode all types of parameters in generated skiptoken
* Add null check to TruncatedCollection.

* Add test.

Co-authored-by: Brecht Debaere <Brecht.Debaere@spray.com>
updates
…tion property along with new Items IList<ODataItemBase> in ODataResourceSetWrapper.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.