marqant-lab / graphql-custom-scalars
Package with GraphQL custom Scalar types.
Installs: 320
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- illuminate/support: ^6.0|^7.0|^8.0
- nuwave/lighthouse: ^4.13
This package is auto-updated.
Last update: 2025-02-21 20:28:36 UTC
README
Description
This package contains GraphQL custom Scalar types.
Available types:
- DateTime: format the date as ISO8601.
Installation
Require the package through composer.
composer require marqant-lab/graphql-custom-scalars
After this you need to import graphql schema.
For this add next row to your graphql/schema.graphql
or graphql/modules.graphql
:
#import ../vendor/marqant-lab/graphql-custom-scalars/graphql/*.graphql
Tests
If you need tests for this package into your project you can add to your phpunit.xml:
<testsuite name="MarqantGraphQLDateTimeScalar"> <directory suffix="Test.php">./vendor/marqant-lab/graphql-custom-scalars/tests</directory> </testsuite>