-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Issue #6: Allow Link creation with null value attribute. #78
base: 2.7.x
Are you sure you want to change the base?
Conversation
I find it odd that the DCO check fails, because I made sure (you can see that I had multiple attempts) that my commits include a signoff flag. See below the output of
|
If you click on DCO check it will show what is the problem. Specifically here it tells that handle used in signoff does not match expected name. |
* Issue mezzio#6: Allow Link creation with null attribute. Signed-off-by: alexmerlin <[email protected]> --------- Signed-off-by: alexmerlin <[email protected]>
Signed-off-by: alexmerlin <[email protected]>
Signed-off-by: alexmerlin <[email protected]>
Signed-off-by: alexmerlin <[email protected]>
Indeed, I didn't notice that. |
HAL specification defines optional attributes in link objects but they are not empty. I do not believe attributes with null or empty value should be allowed. |
Description
As requested in #6, it should be possible to create
Link
s withnull
value attribute.This PR:
validateAttributeValue
method so that it acceptsnull
value attributestestCanConstructLinkWithRelationAndAttributes
) to covernull
value attributes