lighthouse

A framework for serving GraphQL from Laravel

MIT License

Downloads
6.9M
Stars
3.3K
Committers
195

Bot releases are hidden (Show)

lighthouse - Add missing facade

Published by chrissm79 over 6 years ago

lighthouse - Custom Validators

Published by chrissm79 over 6 years ago

First, create a class that extends the new validator

// app/Http/GraphQL/Validators/MyCustomValidator.php

use Nuwave\Lighthouse\Support\Validator\Validator;

class MyCustomValidator extends Validator
{
    public function rules()
    {
        // return array of rules...
    }
}

Add validate directive to your schema:

extend type Mutation {
  createFoo(input: FooInput!): FooPayload
    @validate(validator: "App\\Http\\GraphQL\\Validators\\MyCustomValidator")
}
lighthouse - Lighthouse v2.0

Published by chrissm79 over 6 years ago

lighthouse - Walkthrough Release

Published by chrissm79 over 6 years ago

Final pre-release before v2.0 which will be cut tonight or tomorrow!

lighthouse - Allow directives to handle multiple node types

Published by chrissm79 over 6 years ago

lighthouse - Fix belongsTo directive singleton issue

Published by chrissm79 over 6 years ago

lighthouse - Root Query Pagination

Published by chrissm79 over 6 years ago

Created @paginate directive to allow for pagination off a root query.

lighthouse - Interfaces/Unions/Node

Published by chrissm79 over 6 years ago

lighthouse - Group Directive

Published by chrissm79 over 6 years ago

Created @group directive to set namespace and middleware.

lighthouse - Deferred BelongsToMany & HasManyThrough Fields

Published by chrissm79 over 6 years ago

Fixed issue w/ belongsToMany and hasManyThrough relationships and the QueryBuilder. Also fixes hasMany directive with these relation types.

Side Note: I'm horrible at cutting releases today

lighthouse - Deferred BelongsToMany & HasManyThrough Fields

Published by chrissm79 over 6 years ago

Fixed issue w/ belongsToMany and hasManyThrough relationships and the QueryBuilder. Also fixes hasMany directive with these relation types.

lighthouse - Deferred BelongsToMany Fields

Published by chrissm79 over 6 years ago

Fixed issue w/ many-to-many relationships and the QueryBuilder.

lighthouse - Deferred Fields

Published by chrissm79 over 6 years ago

Use graphql-php's Deferred class to handle N+1 issues w/ belongsTo and hasMany fields.

lighthouse - Lazy Load, Default Fields and AST Caching

Published by chrissm79 over 6 years ago

lighthouse - Lighthouse v2.0-beta.1

Published by chrissm79 over 6 years ago

Overhaul of Lighthouse to migrate towards a "Schema First" design pattern.

lighthouse - Breaking Change: Change scope name

Published by chrissm79 over 6 years ago

Laravel has a scopeGetConnection on Eloquent models that was colliding w/ the scope provided by Lighthouse. The Lighthouse scope has been renamed to scopeGetGqlConnection.

lighthouse - Fix: Connection startCuror and endCursor

Published by chrissm79 over 6 years ago

lighthouse -

Published by chrissm79 over 7 years ago

lighthouse -

Published by chrissm79 over 7 years ago

lighthouse -

Published by chrissm79 over 7 years ago