zestic/app-library

v0.7.0 2021-10-29 20:17 UTC

This package is auto-updated.

Last update: 2022-04-29 01:49:03 UTC


README

#Zestic App Library

Authentication

GraphQL

In your project App\GraphQL\Type\ObjectType

Add

    public static function userInfo()
    {
        return self::$userInfo ?: (self::$userInfo = new UserInfoObject());
    }

Pagination

GraphQL

There is a Paginate input (paginate is a verb) and a Pagination output (pagination is a noun).

The inputs and outputs are set up to work with the React Virtualized Infinite Loader