Replies: 3 comments 4 replies
|
Additionally the README has been refreshed to bring it up2date with the code base, recent changes, restructure for accessibility 🤞🏼 , etc. There has also been a lot of internal work (phpunit 13, phpstan), but these are irrelevant for consumers so not mentioned in the changelog summaries. The big things I've say are:
|
|
I have this consideration, at a high level (I don't have the picture of the implications at the moment), don't you think it's better to move the SelectFields component to another repository as an external utility given the difficulty of maintaining it (black box), also, given that I haven't had direct experience with it yet, but doesn't it overlap with some new features like https://laravel.com/docs/13.x/eloquent-relationships#automatic-eager-loading offered by the framework? |
Uh oh!
There was an error while loading. Please reload this page.
New changes in RC2
Breaking changes
Privacy::validate()first parameter renamed from$queryArgsto$fieldArgs— it now receives the field's own arguments instead of root query argumentsSelectFieldsnow identifies wrapper types via theRebing\GraphQL\Support\Contracts\WrapTypemarker interface. Custom pagination types and wrap types used withSelectFieldsmust implement this interface. #1228 / mfnAdded
Rebing\GraphQL\Support\Contracts\WrapTypemarker interface for wrapper types (pagination types and custom wrap types) #1228 / mfnFixed
GraphQL::type()PHPStan return type to(NullableType&Type)|NonNullso consumers can pass it toType::nonNull()without static analysis errors #1221 / mfnSelectFieldsforcingselect *for Interface return types instead of selecting only the requested columns #683 / mfnSelectFieldsnot calling customquerycallbacks on relation fields insideUnionTypemembers #900 / mfnprohibits,required_without,required_if, etc.) not working in nested InputTypes #930 / mfnprivacyattribute ignored on nested/sub-types by moving enforcement fromSelectFieldsto field resolvers inType::getFields()#1161 / mfnSelectFieldsproducing emptySELECTclause for custom wrap types created viaGraphQL::wrapType()#1228 / mfnChanges from RC1
Full Changelog: 10.0.0-RC1...10.0.0-RC2
This discussion was created from the release 10.0.0-RC2.
All reactions