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

VndErrors logref is not just Integer #1327

Closed
odrotbohm opened this issue Jul 27, 2020 · 0 comments
Closed

VndErrors logref is not just Integer #1327

odrotbohm opened this issue Jul 27, 2020 · 0 comments
Assignees
Labels
in: mediatypes Media type related functionality type: bug
Milestone

Comments

@odrotbohm
Copy link
Member

Backport of #1291.

@odrotbohm odrotbohm added this to the 1.1.1 milestone Jul 27, 2020
@odrotbohm odrotbohm self-assigned this Jul 27, 2020
@odrotbohm odrotbohm added in: mediatypes Media type related functionality type: bug labels Jul 27, 2020
odrotbohm pushed a commit that referenced this issue Jul 27, 2020
According to https://github.com/blongden/vnd.error, logref is for "expressing a (numeric/alpha/alphanumeric) identifier". This patches `VndError` to support both strings and integers, ensuring each serializes properly.

NOTE: `VndErrors` has been deprecated due to the spec itself being dead since 2014. However, it must be supported until fully removed from Spring HATEOAS.

Backport of: #1291.
Original pull request: #1293.
odrotbohm added a commit that referenced this issue Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: mediatypes Media type related functionality type: bug
Projects
None yet
Development

No branches or pull requests

1 participant