topclaudy / compoships

Multi-columns relationships for Laravel's Eloquent ORM
MIT License
1.12k stars 130 forks source link

Fix a typo and update README with nullable and some new examples #82

Closed ChristopheB closed 4 years ago

ChristopheB commented 4 years ago

Here is the README update about nullable #80. I added just a few words about that, but nothing about a possible breaking change.

I also updated the examples. I tried hard to find a simple real world example while writing the tests for nullable the other day, and I though I would share that. Let me know if that makes sense.

And finally there is a fix for a typo I introduced in the previous PR #81 .

ChristopheB commented 4 years ago

This text might help:

Version 2.x brings support for nullable columns. The results may now be different than on version 1.x when a column is null on a relationship, so we bumped the version to 2.x, as this might be a breaking change for you.

Not sure where to put it though.

topclaudy commented 4 years ago

@ChristopheB Your contribution is really appreciated. 2.0.0 is released!