Skip to content

devcake-deventer/graphql-php-scalars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL PHP Scalars

Installation

composer require devcake/graphql-php-scalars

Usage

You can use the provided Scalars just like any other type in your schema definition. Don't forget to add them in your schema.graphqlfile. Like below

scalar Price @scalar(class: "DEVcake\GraphQLScalars")

Simple scalars

Price Scalar

A price string, formatted like 13.37

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages