A framework for serving GraphQL from Laravel
MIT License
Bot releases are visible (Hide)
Published by spawnia about 5 years ago
⚠️ Warning
This only partially fixed the regression bug in 4.4.0, @paginate
with a builder
argument still required a matching model class name. Fixed in v4.4.2
.
Published by spawnia about 5 years ago
⚠️ Warning
Contains an accidental BC that causes paginated fields to fail when the returned type name does not match a model. Fixed in v4.4.2
.
@count
directive for counting a relationship https://github.com/nuwave/lighthouse/pull/984
LaravelEnumType
https://github.com/nuwave/lighthouse/pull/968
@node
https://github.com/nuwave/lighthouse/pull/974
@modelClass
directive to map types to models. It will be renamed@model
in v5 https://github.com/nuwave/lighthouse/pull/974
@globalId(decode: "ID")
https://github.com/nuwave/lighthouse/pull/982
prefix
and domain
https://github.com/nuwave/lighthouse/pull/951
APP_ENV
!= 'local' https://github.com/nuwave/lighthouse/pull/957
@paginate
https://github.com/nuwave/lighthouse/pull/974
RegisterDirectiveNamespaces
event instead of DirectiveFactory#addResolved()
https://github.com/nuwave/lighthouse/pull/950
@node
instead of @model
to resolve models through Relay's global identification https://github.com/nuwave/lighthouse/pull/974
Published by spawnia about 5 years ago
@restore
and @forceDelete
directives, similar to @delete
https://github.com/nuwave/lighthouse/pull/941
@softDeletes
and @trashed
directives to enablelighthouse:ide-helper
when no custom directives are defined https://github.com/nuwave/lighthouse/pull/948
@delete
, @forceDelete
and @restore
Published by spawnia about 5 years ago
edgeType
in Relay style connections https://github.com/nuwave/lighthouse/pull/939
Published by spawnia about 5 years ago
@morphOne
directive for polymorphic one-to-one relationships https://github.com/nuwave/lighthouse/pull/944
@morphTo
directive for polymorphic one-to-one relationships https://github.com/nuwave/lighthouse/pull/921
@morphMany
directive for polymorphic one-to-many relationships https://github.com/nuwave/lighthouse/pull/944
^6.0
https://github.com/nuwave/lighthouse/pull/926
lighthouse:ide-helper
for generating a definition file with all schema directives https://github.com/nuwave/lighthouse/pull/933
Published by spawnia about 5 years ago
Published by spawnia about 5 years ago
@whereJsonContains
directive to an input value as a whereJsonContains filter https://github.com/nuwave/lighthouse/pull/919
__invoke
when referencing methods in directives@whereContraints
Enum
type and an Input
typeMakesGraphQLRequests
https://github.com/nuwave/lighthouse/pull/916
__invoke
in v5 https://github.com/nuwave/lighthouse/issues/882
ValidationDirective
not setting the mutation or query arguments to itself https://github.com/nuwave/lighthouse/pull/915
Published by spawnia about 5 years ago
@namespace
directive as a replacement for the removed @group
directive https://github.com/nuwave/lighthouse/pull/768
@defer
extension now supports deferring nested fields of mutations https://github.com/nuwave/lighthouse/pull/855
\Nuwave\Lighthouse\Schema\Directives\ValidationDirective
https://github.com/nuwave/lighthouse/pull/846
@belongsToMany
directive to support pivot data on a custom Relay style Edge type https://github.com/nuwave/lighthouse/pull/871
connect
, disconnect
and delete
operations for nested mutations upon MorphTo relationships https://github.com/nuwave/lighthouse/pull/879
Illuminate\Contracts\Config\Repository
instead of Illuminate\Config\Repository
https://github.com/nuwave/lighthouse/issues/832
@can
when issuing mass updates on multiple models https://github.com/nuwave/lighthouse/pull/838
private
in @cache
directive even when the user is not authenticated https://github.com/nuwave/lighthouse/pull/843
@include
directive, it is semantically opposite to @skip
, when using it with @defer
https://github.com/nuwave/lighthouse/pull/855
@whereConstraints
https://github.com/nuwave/lighthouse/pull/872
@model
directive in a type that has a list field https://github.com/nuwave/lighthouse/pull/883
@include
and @skip
directives that are part of the GraphQL spec show up in introspectionwebonyx/graphql-php
to ^0.13.2
https://github.com/nuwave/lighthouse/pull/768
Node*
to Type*
https://github.com/nuwave/lighthouse/pull/768
TypeManipulator
, FieldManipulator
and ArgManipulator
https://github.com/nuwave/lighthouse/pull/768
DocumentAST
class to enable a more performant implementation https://github.com/nuwave/lighthouse/pull/768
lighthouse.cache.enable
by default https://github.com/nuwave/lighthouse/pull/768
config/lighthouse.php
and bring it up to dateSubscriptionExceptionHandler
into namespace Nuwave\Lighthouse\Subscriptions\Contracts
https://github.com/nuwave/lighthouse/pull/819
first
instead of count
. The config pagination_amount_argument
ArgValidationDirective
to ProvidesRules
and drop get
prefix from the methods within https://github.com/nuwave/lighthouse/pull/846
@can
against configurable.id
argument for finding a specificNuwave\Lighthouse\Schema\Types\LaravelEnumType
wrapper to map to Enum instances internally https://github.com/nuwave/lighthouse/pull/908
@group
directive in favour of @middleware
and @namespace
https://github.com/nuwave/lighthouse/pull/768
ArgFilterDirective
interface in favour of the ArgBuilderDirective
interface https://github.com/nuwave/lighthouse/pull/821
@whereBetween
and @whereNotBetween
directives https://github.com/nuwave/lighthouse/pull/821
@spread
directive instead of the flatten
argument of @create
/@update
https://github.com/nuwave/lighthouse/pull/822
dispatch
aliases fire
and class
for dispatching through @event
https://github.com/nuwave/lighthouse/pull/823
GraphQL
facade and the container alias graphql
https://github.com/nuwave/lighthouse/pull/824
if
for specifying the ability
that has to be met in @can
https://github.com/nuwave/lighthouse/pull/838
pagination_amount_argument
will be removed in v5Published by spawnia about 5 years ago
@namespace
directive as a replacement for the removed @group
directive https://github.com/nuwave/lighthouse/pull/768
@defer
extension now supports deferring nested fields of mutations https://github.com/nuwave/lighthouse/pull/855
\Nuwave\Lighthouse\Schema\Directives\ValidationDirective
https://github.com/nuwave/lighthouse/pull/846
@belongsToMany
directive to support pivot data on a custom Relay style Edge type https://github.com/nuwave/lighthouse/pull/871
connect
, disconnect
and delete
operations for nested mutations upon MorphTo relationships https://github.com/nuwave/lighthouse/pull/879
Illuminate\Contracts\Config\Repository
instead of Illuminate\Config\Repository
https://github.com/nuwave/lighthouse/issues/832
@can
when issuing mass updates on multiple models https://github.com/nuwave/lighthouse/pull/838
private
in @cache
directive even when the user is not authenticated https://github.com/nuwave/lighthouse/pull/843
@include
directive, it is semantically opposite to @skip
, when using it with @defer
https://github.com/nuwave/lighthouse/pull/855
@whereConstraints
https://github.com/nuwave/lighthouse/pull/872
webonyx/graphql-php
to ^0.13.2
https://github.com/nuwave/lighthouse/pull/768
Node*
to Type*
https://github.com/nuwave/lighthouse/pull/768
TypeManipulator
, FieldManipulator
and ArgManipulator
https://github.com/nuwave/lighthouse/pull/768
DocumentAST
class to enable a more performant implementation https://github.com/nuwave/lighthouse/pull/768
lighthouse.cache.enable
by default https://github.com/nuwave/lighthouse/pull/768
config/lighthouse.php
and bring it up to dateSubscriptionExceptionHandler
into namespace Nuwave\Lighthouse\Subscriptions\Contracts
https://github.com/nuwave/lighthouse/pull/819
first
instead of count
. The config pagination_amount_argument
ArgValidationDirective
to ProvidesRules
and drop get
prefix from the methods within https://github.com/nuwave/lighthouse/pull/846
id
argument for finding a specificNuwave\Lighthouse\Schema\Types\LaravelEnumType
wrapper to map to Enum instances internally https://github.com/nuwave/lighthouse/pull/908
@group
directive in favour of @middleware
and @namespace
https://github.com/nuwave/lighthouse/pull/768
ArgFilterDirective
interface in favour of the ArgBuilderDirective
interface https://github.com/nuwave/lighthouse/pull/821
@whereBetween
and @whereNotBetween
directives https://github.com/nuwave/lighthouse/pull/821
@spread
directive instead of the flatten
argument of @create
/@update
https://github.com/nuwave/lighthouse/pull/822
dispatch
aliases fire
and class
for dispatching through @event
https://github.com/nuwave/lighthouse/pull/823
GraphQL
facade and the container alias graphql
https://github.com/nuwave/lighthouse/pull/824
if
for specifying the ability
that has to be met in @can
https://github.com/nuwave/lighthouse/pull/838
pagination_amount_argument
will be removed in v5Published by spawnia over 5 years ago
@namespace
directive as a replacement for the removed @group
directive https://github.com/nuwave/lighthouse/pull/768
@defer
extension now supports deferring nested fields of mutations https://github.com/nuwave/lighthouse/pull/855
\Nuwave\Lighthouse\Schema\Directives\ValidationDirective
https://github.com/nuwave/lighthouse/pull/846
Illuminate\Contracts\Config\Repository
instead of Illuminate\Config\Repository
https://github.com/nuwave/lighthouse/issues/832
@can
when issuing mass updates on multiple models https://github.com/nuwave/lighthouse/pull/838
private
in @cache
directive even when the user is not authenticated https://github.com/nuwave/lighthouse/pull/843
@include
directive, it is semantically opposite to @skip
, when using it with @defer
https://github.com/nuwave/lighthouse/pull/855
webonyx/graphql-php
to ^0.13.2
https://github.com/nuwave/lighthouse/pull/768
Node*
to Type*
https://github.com/nuwave/lighthouse/pull/768
TypeManipulator
, FieldManipulator
and ArgManipulator
https://github.com/nuwave/lighthouse/pull/768
DocumentAST
class to enable a more performant implementation https://github.com/nuwave/lighthouse/pull/768
lighthouse.cache.enable
by default https://github.com/nuwave/lighthouse/pull/768
config/lighthouse.php
and bring it up to dateSubscriptionExceptionHandler
into namespace Nuwave\Lighthouse\Subscriptions\Contracts
https://github.com/nuwave/lighthouse/pull/819
first
instead of count
. The config pagination_amount_argument
ArgValidationDirective
to ProvidesRules
and drop get
prefix from the methods within https://github.com/nuwave/lighthouse/pull/846
id
argument for finding a specific@group
directive in favour of @middleware
and @namespace
https://github.com/nuwave/lighthouse/pull/768
ArgFilterDirective
interface in favour of the ArgBuilderDirective
interface https://github.com/nuwave/lighthouse/pull/821
@whereBetween
and @whereNotBetween
directives https://github.com/nuwave/lighthouse/pull/821
@spread
directive instead of the flatten
argument of @create
/@update
https://github.com/nuwave/lighthouse/pull/822
dispatch
aliases fire
and class
for dispatching through @event
https://github.com/nuwave/lighthouse/pull/823
GraphQL
facade and the container alias graphql
https://github.com/nuwave/lighthouse/pull/824
if
for specifying the ability
that has to be met in @can
https://github.com/nuwave/lighthouse/pull/838
pagination_amount_argument
will be removed in v5Published by spawnia over 5 years ago
@namespace
directive as a replacement for the removed @group
directive https://github.com/nuwave/lighthouse/pull/768
Illuminate\Contracts\Config\Repository
instead of Illuminate\Config\Repository
https://github.com/nuwave/lighthouse/issues/832
@can
when issuing mass updates on multiple models https://github.com/nuwave/lighthouse/pull/838
webonyx/graphql-php
to ^0.13.2
https://github.com/nuwave/lighthouse/pull/768
Node*
to Type*
https://github.com/nuwave/lighthouse/pull/768
TypeManipulator
, FieldManipulator
and ArgManipulator
https://github.com/nuwave/lighthouse/pull/768
DocumentAST
class to enable a more performant implementation https://github.com/nuwave/lighthouse/pull/768
lighthouse.cache.enable
by default https://github.com/nuwave/lighthouse/pull/768
SubscriptionExceptionHandler
into namespace Nuwave\Lighthouse\Subscriptions\Contracts
https://github.com/nuwave/lighthouse/pull/819
@group
directive in favour of @middleware
and @namespace
https://github.com/nuwave/lighthouse/pull/768
ArgFilterDirective
interface in favour of the ArgBuilderDirective
interface https://github.com/nuwave/lighthouse/pull/821
@whereBetween
and @whereNotBetween
directives https://github.com/nuwave/lighthouse/pull/821
@spread
directive instead of the flatten
argument of @create
/@update
https://github.com/nuwave/lighthouse/pull/822
dispatch
aliases fire
and class
for dispatching through @event
https://github.com/nuwave/lighthouse/pull/823
GraphQL
facade and the container alias graphql
https://github.com/nuwave/lighthouse/pull/824
if
for specifying the ability
that has to be met in @can
https://github.com/nuwave/lighthouse/pull/838
Published by spawnia over 5 years ago
@namespace
directive as a replacement for the removed @group
directive https://github.com/nuwave/lighthouse/pull/768
webonyx/graphql-php
to ^0.13.2
https://github.com/nuwave/lighthouse/pull/768
Node*
to Type*
https://github.com/nuwave/lighthouse/pull/768
TypeManipulator
, FieldManipulator
and ArgManipulator
https://github.com/nuwave/lighthouse/pull/768
DocumentAST
class to enable a more performant implementation https://github.com/nuwave/lighthouse/pull/768
lighthouse.cache.enable
by default https://github.com/nuwave/lighthouse/pull/768
SubscriptionExceptionHandler
into namespace Nuwave\Lighthouse\Subscriptions\Contracts
https://github.com/nuwave/lighthouse/pull/819
@group
directive in favour of @middleware
and @namespace
https://github.com/nuwave/lighthouse/pull/768
ArgFilterDirective
interface in favour of the ArgBuilderDirective
interface https://github.com/nuwave/lighthouse/pull/821
@whereBetween
and @whereNotBetween
directives https://github.com/nuwave/lighthouse/pull/821
@spread
directive instead of the flatten
argument of @create
/@update
https://github.com/nuwave/lighthouse/pull/822
dispatch
aliases fire
and class
for dispatching through @event
https://github.com/nuwave/lighthouse/pull/823
GraphQL
facade and the container alias graphql
https://github.com/nuwave/lighthouse/pull/824
Published by spawnia over 5 years ago
@namespace
directive as a replacement for the removed @group
directive https://github.com/nuwave/lighthouse/pull/768
webonyx/graphql-php
to ^0.13.2
https://github.com/nuwave/lighthouse/pull/768
Node*
to Type*
https://github.com/nuwave/lighthouse/pull/768
TypeManipulator
, FieldManipulator
and ArgManipulator
https://github.com/nuwave/lighthouse/pull/768
DocumentAST
class to enable a more performant implementation https://github.com/nuwave/lighthouse/pull/768
lighthouse.cache.enable
by default https://github.com/nuwave/lighthouse/pull/768
@group
directive in favour of @middleware
and @namespace
https://github.com/nuwave/lighthouse/pull/768
Published by spawnia over 5 years ago
@middleware
to support Lumen https://github.com/nuwave/lighthouse/pull/786
decode
to @globaldId
to control the result of decoding https://github.com/nuwave/lighthouse/pull/796
cache.ttl
for customizing expiration time of schema cache https://github.com/nuwave/lighthouse/pull/801
\Nuwave\Lighthouse\Testing\MakesGraphQLRequests
https://github.com/nuwave/lighthouse/pull/802
@rules
and @rulesForArray
https://github.com/nuwave/lighthouse/pull/812
@whereConstraints
https://github.com/nuwave/lighthouse/pull/800
Illuminate\Contracts\Events\Dispatcher
instead of concrete implementation in SubscriptionBroadcaster https://github.com/nuwave/lighthouse/pull/805
GraphQL
facade and the container alias graphql
will be removed in v4Published by spawnia over 5 years ago
@deprecate
directive https://github.com/nuwave/lighthouse/pull/787
Published by spawnia over 5 years ago
@whereConstraints
directive that offers flexible query capabilities to the client https://github.com/nuwave/lighthouse/pull/753
controller
config option will be removed in v4 https://github.com/nuwave/lighthouse/pull/781
Published by spawnia over 5 years ago
@create
and @update
https://github.com/nuwave/lighthouse/pull/777
Published by spawnia over 5 years ago
input
argument from a query that uses@spread
directive without getting an error https://github.com/nuwave/lighthouse/pull/774
SubscriptionExceptionHandler
will be moved to the namespace Nuwave\Lighthouse\Subscriptions\Contracts<= 0
is requested https://github.com/nuwave/lighthouse/pull/765
Published by spawnia over 5 years ago
Accept: application/json
header https://github.com/nuwave/lighthouse/pull/743
first
instead of count
in v4. The config pagination_amount_argument
ErrorBuffer
directly, its dependencies