-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
No easy way to serialize ids #3078
Comments
amk221
changed the title
No easy way to serialize id's as integers
No easy way to serialize ids
May 18, 2015
|
Looks like
Currently one has to go around the houses (gist) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My use case is our API requires the
id
in a JSON payload to be an integer not a string.serializeAttribute
, but it doesn't get called withid
serialize
,serializeBelongsTo
, andserializeHasMany
but still requires you to go through all relationships to alter the IDs.The text was updated successfully, but these errors were encountered: