-
Notifications
You must be signed in to change notification settings - Fork 472
Add type and title properties to Link class #79
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
Conversation
doh! forgot to run tests (and of course a bunch broke). looks like fixing all the tests will be enough work that i'm reluctant to do it if you are going to reject the change, but if this change to the Link class is acceptable, let me know and i'll fix tests. sorry about that 😢 |
I think it makes sense to add the properties. However:
Thanks! |
- preserve immutability of link - adjust tests such that jackson object mapper skips serialization of nulls - add relevent tests for new title and type link properties
4ebc1be
to
266ad50
Compare
Similar to #100 |
@tony-kerz Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
1 similar comment
@tony-kerz Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
Fixed with #567. |
Simple proposal for change to allow type and title properties to Link class, of course, on board with any alternate which allows for same end result. The following example set values for new 'title' property of Link: