Skip to content

#235: added support for RFC 5988 Target Attributes to the Link class #240

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

Closed
wants to merge 1 commit into from

Conversation

jstano
Copy link

@jstano jstano commented Aug 26, 2014

No description provided.

@odrotbohm
Copy link
Member

Again, I'd love to hear about the rationale for this change. "I'd like to see the attributes" is not gonna cut it. Be sure to understand that we're basically a mitigating library that needs to be careful not to add attributes that the media types we support don't support in turn. Especially if we run into scenarios with conflicting or ambiguous attribute semantics.

Going forward, please make sure you add a few more explanations with your pull requests as simply throwing some code over the fence is not gonna work out anyway.

@jstano
Copy link
Author

jstano commented Feb 10, 2015

I would expect that any hateoas media type that included links would be required to support all RFC-5988 target attributes, since this is the official standard for links. RFC-5988 also allows links to have custom attributes added.

Yes, I'll be sure to put for details in from now on.

@Vulcannis
Copy link
Contributor

This is a prerequisite for handling secondary key lookups in HAL. Even without that feature, if the attributes aren't parsed at all they can't be inspected by client code manually. This really cripples link collections.

@odrotbohm odrotbohm force-pushed the master branch 2 times, most recently from 4ebc1be to 266ad50 Compare July 25, 2016 18:32
@gregturn
Copy link
Contributor

According to the HAL spec, the only required attribute is href. All others are optional.

We have presently implemented templated because it's critically needed for any controller with arguments.

Something more is needed for any of the other attributes to be added. Otherwise, they can easily appear as superfluous bits.

@gregturn
Copy link
Contributor

Similar to #100

gregturn added a commit that referenced this pull request Mar 21, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Resolves #100,#417,#235,#240,#238,#223
gregturn added a commit that referenced this pull request Mar 22, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Resolves #100,#417,#235,#240,#238,#223
gregturn added a commit that referenced this pull request Mar 22, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Additionally, some of the files had inconsistent EOL characters. This patches that as well. To see the differences WITHOUT this bit, add ?w=1 to the github page showing the delta, and whitespace differences will be filtered out.

Resolves #100,#417,#235,#240,#238,#223
gregturn added a commit that referenced this pull request Mar 22, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Additionally, some of the files had inconsistent EOL characters. This patches that as well. To see the differences WITHOUT this bit, add ?w=1 to the github page showing the delta, and whitespace differences will be filtered out.

Resolves #100,#417,#235,#240,#238,#223
gregturn added a commit that referenced this pull request Mar 22, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Additionally, some of the files had inconsistent EOL characters. This patches that as well. To see the differences WITHOUT this bit, add ?w=1 to the github page showing the delta, and whitespace differences will be filtered out.

Resolves #100,#417,#235,#240,#238,#223
gregturn added a commit that referenced this pull request Mar 22, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Additionally, some of the files had inconsistent EOL characters. This patches that as well. To see the differences WITHOUT this bit, add ?w=1 to the github page showing the delta, and whitespace differences will be filtered out.

Resolves #100,#417,#235,#240,#238,#223
gregturn added a commit that referenced this pull request Mar 22, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Additionally, some of the files had inconsistent EOL characters. This patches that as well. To see the differences WITHOUT this bit, add ?w=1 to the github page showing the delta, and whitespace differences will be filtered out.

Resolves #100,#417,#235,#240,#238,#223
@pivotal-issuemaster
Copy link

@jstano Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

gregturn added a commit that referenced this pull request Mar 26, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Additionally, some of the files had inconsistent EOL characters. This patches that as well. To see the differences WITHOUT this bit, add ?w=1 to the github page showing the delta, and whitespace differences will be filtered out.

Resolves #100,#417,#235,#240,#238,#223
gregturn added a commit that referenced this pull request Mar 26, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Related tickets: #100, #417, #235, #240, #238, #223
gregturn added a commit that referenced this pull request Mar 26, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Related tickets: #100, #417, #235, #240, #238, #223
gregturn added a commit that referenced this pull request Mar 26, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Related tickets: #100, #417, #235
Previous pull requests: #240, #238, #223
gregturn added a commit that referenced this pull request Mar 26, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Related tickets: #100, #417, #235
Previous pull requests: #240, #238, #223, #79
gregturn added a commit that referenced this pull request May 23, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Related tickets: #100, #417, #235
Previous pull requests: #240, #238, #223, #79
odrotbohm pushed a commit that referenced this pull request Jul 28, 2017
Adds many additional attributes defined in RFC5988 and verifies they work properly in the neutral representation of Link while also being rendered properly in the HAL module.

Related tickets: #100, #417, #235
Previous pull requests: #240, #238, #223, #79
@odrotbohm
Copy link
Member

Superseded by #567.

@odrotbohm odrotbohm closed this Jul 28, 2017
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.

5 participants