Add reference support for String.min/max/length#597
Add reference support for String.min/max/length#597DavidTPate wants to merge 7 commits intohapijs:masterfrom DavidTPate:feature/string-ref-min-max-length
Conversation
|
Currently, this build fails due to keys in the object being validated being in a different order than they were previously. I didn't update this test because I want to look into the root cause to see why my changes caused this to occur. |
|
Don't trust the diff, it only compares both stringifications, which can happen in different orders, but there's still something different somewhere. |
…e context in a different order for some reason.
…est to have keys in the right order.
|
@Marsup So I figured out what caused it to change the order, still trying to understand why. The extra variable I think the passing the I added |
|
Previous tests failed because |
|
Like I told you, the order doesn't matter, if you have an error there is something different. |
|
Seems OK, can you squash all those commits ? |
…h' into feature/string-ref-min-max-length
|
@Marsup Should be squashed now, first time doing it but I think I got it. I guess GitHub still shows the older commits that occurred, but my repo only shows them as the new squashed commit. |
|
Nope, github should show only one commit, it seems you did a merge with yourself, I don't know what happened here :) |
|
Yeah, I think it was my lack of knowledge squashing stuff. When I pushed Webstorm had me choose Merge/Rebase after I squashed everything. I chose merge, and it merged to itself and undid what I squashed. I've been trying to undo the merge or squash all of the things together again, but I just can't seem to figure it out. |
|
I'll merge it manually then. Anyway I want to change the target since merging to master would keep me from releasing further 6.0.x versions. |
|
Merged in branch 6.1.0. |
|
Cool, thanks @Marsup ! |
|
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions. |
This PR adds support for using references or String
min(),max(),length()and the supporting documentation.