When filtering with Guids, the resulting query should not wrap the Guid in '.
Currently, this code:
var uri = new ODataQueryBuilder<ODataInfoContainer>("http://mock/odata")
.For<ODataTypeEntity>(s => s.ODataType)
.ByList()
.Filter(x => x.Id == new Guid())
.ToUri()
Would result in:
http://mock/odata/ODataType?$filter=Id eq '00000000-0000-0000-0000-000000000000'
When it should result in:
http://mock/odata/ODataType?$filter=Id eq 00000000-0000-0000-0000-000000000000
When filtering with Guids, the resulting query should not wrap the Guid in
'
.Currently, this code:
Would result in:
http://mock/odata/ODataType?$filter=Id eq '00000000-0000-0000-0000-000000000000'
When it should result in:http://mock/odata/ODataType?$filter=Id eq 00000000-0000-0000-0000-000000000000