uffelauesen
uffelauesen
Hi Clément It doesn't encode key segments at all. In AspNetCoreOData's `ODataResourceSerializer.CreateResource()` you have the following... ``` Microsoft.AspNetCore.OData.Edm.NavigationSourceLinkBuilderAnnotation navigationSourceLinkBuilder = EdmModelLinkBuilderExtensions.GetNavigationSourceLinkBuilder(model, resourceContext.NavigationSource); EntitySelfLinks entitySelfLinks = navigationSourceLinkBuilder.BuildEntitySelfLinks(resourceContext, resourceContext.SerializerContext.MetadataLevel); if (entitySelfLinks.IdLink !=...
Hi @ElizabethOkerio I have added some tests as requested. Thanks
@WanjohiSammy Yes - it looks like the reference trippin service has an unrelated bug and fails to execute either query. Please don’t get too caught up in this - I...
@WanjohiSammy The TripPin reference service failed on both queries what seems to be due to HomeAddress being null for some people returned. This is probably an unrelated bug in the...
@WanjohiSammy Please consider rewriting the ProjectionAnalyzer, SelectExpandPathBuilder, SelectExpandPathToStringVisitor to use something similar to QueryToken (and its derrived types ExpandToken, SelectToken etc...) that can handle tree structures. Please also consider getting...
Sorry - I don’t think that’s correct. Your reference TripPin service on data.org accepts it’s just fine and returns a payload respecting the intended projection. Could you please check again....
Hi @corranrogue9 According to the protocol documentation at odata.org navigation properties are perfectly valid in $select. Please check [https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#_Toc31361040](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#_Toc31361040) where it is stated that: _If the select item is a...
@habbes thanks for the detailed explanation. I have tried both options - ByKey() as well as setting KeyComparisonGeneratesFilterQuery to false and can confirm that both works as expected. Maybe the...
@MartinKPal @habbes I think this is the same issue I reported back in 2022 here: #2452 /uffe