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

Patch VndErrors to handle alphanumeric logrefs. #1293

Closed
wants to merge 2 commits into from

Conversation

gregturn
Copy link
Contributor

No description provided.

gregturn added 2 commits May 18, 2020 15:25
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.
@gregturn gregturn requested a review from odrotbohm May 18, 2020 20:29
odrotbohm pushed a commit that referenced this pull request 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.

Original pull request: #1293.
odrotbohm pushed a commit that referenced this pull request 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 odrotbohm self-assigned this Jul 27, 2020
@odrotbohm odrotbohm closed this Jul 27, 2020
@odrotbohm odrotbohm deleted the issue/HATEOAS-1291 branch August 12, 2020 07:33
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.

2 participants