Sam Xu

Results 342 comments of Sam Xu

@michalczerwinski Can you use the PageResult in the controller when the request has $count=true query?

@forik Would you please share me with your metadata? and want to know why do you want to use `JsonDocument` as the container? In OData WebApi, `IDictionary` is used by...

@julealgon Can you share me your repro?

I'd like to take this changes to unblock customers temporarily. But, As I see, it will be changed in the $apply refactor. So, please make the changes as internal as...

> @xuzhg have you had a chance to look at the related issue [#2443](https://github.com/OData/WebApi/issues/2443)? What do you mean? My suggestion is to call 'GetClrPropertyName' before calling into this method to...

@fededim I saw the Point class definition here: https://github.com/NetTopologySuite/NetTopologySuite/blob/develop/src/NetTopologySuite/Geometries/Point.cs This class doesn't have a default constructor and we can't instantize an object of "Point". Please use the POCO (a plain...

@ericcanadas That's related to the foreign key configuration. By design, for any navigation property has a corresponding 'Key' property defined in the same entity type, OData will build the reference...

@julealgon At the design of the foreign key features, we thought the navigation property is 'significant'. Do you think we wouldn't get a complaint if we changed to use 'key'...

@julealgon @ericcanadas Here's the existing code: https://github.com/OData/ModelBuilder/blob/main/src/Microsoft.OData.ModelBuilder/Property/NavigationPropertyConfiguration.cs#L232-L244 Changing the code is easy. I just need confirmation. @chrisspre @mikepizzo

@sep2 Can you share with me your startup.cs and the whole controller? Are you using conventional routing or attribute routing?