
기본적으로 사용할 수 있는 Scalar 타입은 정해져있다. //http://webonyx.github.io/graphql-php/type-definitions/scalars/ use GraphQL\Type\Definition\Type; // Built-in Scalar types: Type::string(); // String type Type::int(); // Int type Type::float(); // Float type Type::boolean(); // Boolean type Type::id(); // ID type 그 외에 필요한 타입은 커스텀하여 사용하여야하는데, 대표적으로 Date, DateTime 타입이 없는지 아쉬운 부분이다. 그래도 친절하게 필요한 타입을 정의하여 사용할 수 있도록..

# Composer 설치 # composer 설치해준다. php5.6 이상에서 사용할 수 있음. composer require webonyx/graphql-php # Core/Controller.php class Graphql_Controller extends CI_Controller { public function __construct() { parent::__construct(); } public function response($schema=null) { try{ $input = json_decode(file_get_contents('php://input'), true); $query = $input['query']; $variableValues = isset($input['variables']) ..
- Total
- Today
- Yesterday
- graphql
- aaa패턴
- php-laravel
- MySQL
- redis
- exception-test
- 정의
- addMonth
- 라라벨
- vim
- POP3
- addMonthWithoutOverflow
- session+token authorize
- 테스트_다중트랜잭션
- 자바스크립트
- Laravel
- l5-swagger-response
- laravel-kafka
- bitwarden-cli
- 정규식
- laravel-test
- php
- observer 매개변수 전달하기
- 메일
- eloquent-observer
- l5-swagger
- password-manager
- django
- Python
- graphql-php
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |