Skip to content
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

guid primary key should be (guid) not ('guid') #547

Closed
fileman opened this issue Jan 10, 2017 · 3 comments
Closed

guid primary key should be (guid) not ('guid') #547

fileman opened this issue Jan 10, 2017 · 3 comments
Labels

Comments

@fileman
Copy link

fileman commented Jan 10, 2017

I can get all entities with url/restierapi/entity, but when i try to get single entity with url/restierapi/entity(guid) response is Not Found, but if I try url/restierapi/entity('guid') result is ok.

@fileman fileman changed the title NotFound with guid primary key without quotes guid primary key is (guid) or ('guid') Mar 21, 2017
@fileman
Copy link
Author

fileman commented Mar 21, 2017

ok, I followed this document, guid type is (guid) not ('guid') and I think that Syncfusion has followed same documentation for their ODataV4Adaptor.

@mikepizzo mikepizzo added the P3 label Jun 10, 2017
@mikepizzo
Copy link
Member

Yes; we changed the syntax in OData V4 to not require quotes for guids. We should fix this.

@mikepizzo mikepizzo changed the title guid primary key is (guid) or ('guid') guid primary key should be (guid) not ('guid') Jun 10, 2017
@mikepizzo mikepizzo added the bug label Jun 10, 2017
@robertmclaws
Copy link
Collaborator

I believe this is fixed, so I'm closing for now. If you still experience the issue with the latest nightlies, or the upcoming 1.0 Beta 2 release, please re-open and let us know what happened. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants