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

Client_Id and Client_Rev Purpose #120

Open
jarredwitt opened this issue Mar 18, 2014 · 2 comments
Open

Client_Id and Client_Rev Purpose #120

jarredwitt opened this issue Mar 18, 2014 · 2 comments
Labels

Comments

@jarredwitt
Copy link

I'm pretty new to EPF but I couldn't find a clear answer for this, but would it be possible for someone to explain to me the purpose of Client_Id and Client_Rev? Am I supposed to include it when writing to my backend? Am I supposed to return it in the REST response? Or is just solely for the client side?

The reason I ask is that I get some weird issues such as blank model records (using mongodb with embedded hasMany) when returning data that has the client_id and the client_rev in the response. The issues go away when I remove those from the response.

@ghempton
Copy link
Contributor

Client_id and client_rev are both just pass through properties. Both are used during merge. Client rev is used by the client to know if the server has seen the most recent changes and client id is used to handle some creation corner cases caused by the ids being generated on the server. Can you elaborate on the case where issues are arising?

@jarredwitt
Copy link
Author

Strange, I can't seem to reproduce the behavior any longer. I did make a lot of changes to my app so it could have easily been something that I did that caused the issue first place or possibly an extreme edge case. Sorry for the false report.

Thanks for answering my question. If the behavior pops back up I'll reopen.

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

2 participants