Skip to content

Byte Id Serialization#66

Merged
SphtKr merged 2 commits into
JSONAPIdotNET:masterfrom
karlguillotte:master
Feb 14, 2015
Merged

Byte Id Serialization#66
SphtKr merged 2 commits into
JSONAPIdotNET:masterfrom
karlguillotte:master

Conversation

@karlguillotte

Copy link
Copy Markdown
Contributor

Closes #66

This pull request allows to have Id of type byte. They will be
serialized properly.

This pull request allows to have Id of type byte. They will be
serialized properly.
@csantero

Copy link
Copy Markdown
Collaborator

Looks good! Eventually we need a more generic solution that will allow for any primitive type to be used as the ID property, but this is fine for now.

One small nitpick, could you reformat the braces to be in line with the brace style used elsewhere in the project? Allman-style, brace goes on the next line. Thanks

@karlguillotte

Copy link
Copy Markdown
Contributor Author

I will do Allman-style in the future.

I agree regarding having a more generic way of doing id serialization. Probably need something similar to the TypeExtensions.

@csantero

Copy link
Copy Markdown
Collaborator

Thanks!

@SphtKr LGTM?

SphtKr added a commit that referenced this pull request Feb 14, 2015
@SphtKr SphtKr merged commit 98e0fee into JSONAPIdotNET:master Feb 14, 2015
@SphtKr

SphtKr commented Feb 14, 2015

Copy link
Copy Markdown
Collaborator

Merged and pushed to NuGet as 0.3.0-pre-2

@SphtKr

SphtKr commented Feb 14, 2015

Copy link
Copy Markdown
Collaborator

Yes we should unify this function with the Attribute serialization (formerly Primitive) functions.

@karlguillotte

Copy link
Copy Markdown
Contributor Author

Thanks @SphtKr !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants