A framework for serving GraphQL from Laravel
MIT License
Bot releases are hidden (Show)
Published by spawnia over 5 years ago
Published by spawnia over 5 years ago
@spread
directive to reshape nested input arguments https://github.com/nuwave/lighthouse/pull/680
@builder
directive to quickly specify a single method to apply constraintsnew_between_directives
config to use the new between directives now https://github.com/nuwave/lighthouse/pull/680
@spread
instead of the flatten
argument of @create
/@update
https://github.com/nuwave/lighthouse/pull/680
ArgBuilderDirective
instead of the ArgFilterDirective
https://github.com/nuwave/lighthouse/pull/680
@whereBetween
and @whereNotBetween
will take a single input objectPublished by spawnia over 5 years ago
dispatch
for the @event
directive https://github.com/nuwave/lighthouse/pull/719
fire
and class
for dispatching through @event
https://github.com/nuwave/lighthouse/pull/719
Published by spawnia over 5 years ago
@defer
client directive https://github.com/nuwave/lighthouse/pull/422
@rulesForArray
https://github.com/nuwave/lighthouse/pull/427
@hasMany
and @paginator
directives now support an additional argument defaultCount
that sets a default value for the generated field argument count
https://github.com/nuwave/lighthouse/pull/428
@can
directive https://github.com/nuwave/lighthouse/pull/431
@inject
with dot notation to set nested value https://github.com/nuwave/lighthouse/pull/511
@deprecated
directive https://github.com/nuwave/lighthouse/pull/522
@paginate
to limit the maximum requested count https://github.com/nuwave/lighthouse/pull/569
guard
argument to @auth
directive https://github.com/nuwave/lighthouse/pull/584
@orderBy
argument directive for client-side dynamic ordering https://github.com/nuwave/lighthouse/pull/659
@can
directive https://github.com/nuwave/lighthouse/pull/684
@method
now receive the same 4 resolver arguments that allconnect
argument https://github.com/nuwave/lighthouse/pull/514 https://github.com/nuwave/lighthouse/pull/549
@can
more friendly https://github.com/nuwave/lighthouse/pull/515
webonyx/graphql-php
to ^0.13
and PHP to >= 7.1
https://github.com/nuwave/lighthouse/pull/517
DirectiveRegistry
with DirectiveFactory
to lazy load directives https://github.com/nuwave/lighthouse/pull/520
Date
scalar to startOfDay, fixes equality checks https://github.com/nuwave/lighthouse/pull/452
@validate
directive in favour of @rules
https://github.com/nuwave/lighthouse/pull/427
@field
directive to using the resolver
argument https://github.com/nuwave/lighthouse/pull/435
@security
directive in favour of defining security options through the config https://github.com/nuwave/lighthouse/pull/435
resolver
argument of @interface
and @union
to resolveType
https://github.com/nuwave/lighthouse/pull/435
Published by spawnia over 5 years ago
Enable using specific model instances in @can
#684
Published by chrissm79 over 5 years ago
Published by chrissm79 over 5 years ago
Published by chrissm79 almost 6 years ago
Published by spawnia almost 6 years ago
Published by spawnia almost 6 years ago
Just tested this in a local project, everything works as before. This gives the option to
php artisan vendor:publish --provider="Nuwave\Lighthouse\Providers\LighthouseServiceProvider" --tag=schema
or
php artisan vendor:publish --provider="Nuwave\Lighthouse\Providers\LighthouseServiceProvider" --tag=config
to publish only the parts of the assets that you want
Published by spawnia almost 6 years ago
Published by spawnia almost 6 years ago
Default namespaces for Queries and Mutations are now cleanly applied
to the @field
directive.
If no resolver was found for a field, Lighthouse throws an Exception. This will only
help uncover bugs and help users to fix mistakes in their schema definition.
Internals that concern how field resolvers are built were slightly changed, only users that
reach far into the internal methods for defining custom directives might be affected.
Published by spawnia almost 6 years ago
Published by spawnia about 6 years ago
Published by spawnia about 6 years ago
Published by chrissm79 about 6 years ago