-
-
Notifications
You must be signed in to change notification settings - Fork 158
Fix/id type support #55
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
Conversation
@jfhs this should fix the issues. I will be writing tests to validate it in the morning. Let me know what you think |
@jaredcnance Looks good. However I checked specification, and it says that server may accept client generated ids which is explicitly forbidden in current implementation. That is not the same issue you are solving by this PR, but it requires change in same place, so maybe you can do it all at once. I would suggest adding a flag in controller for disabling this verification, something like |
You're right in that a server MAY support client generated ids. I'll include a test this morning that checks whether or not it will work without much modification. I suspect this may not be so simple, but I'll dig into it. |
requires access to the DbContext
inject the db-context
} | ||
|
||
return entity; | ||
} | ||
|
||
private static object _setHasManyRelationship(object entity, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closes #52
…g to a pre-release
the search continues
You can get these updates on MyGet (version 1.1.1-alpha1-0069) |
Closes #53