Skip to content
This repository was archived by the owner on Jun 14, 2023. It is now read-only.

Commit dbaf9a3

Browse files
author
Jayden Smith
committed
Fixed introspection issue.
1 parent e9701ea commit dbaf9a3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 1.0.5 - 2020-10-14
8+
### Fixed
9+
- Fixed introspection issue
10+
711
## 1.0.4 - 2020-10-14
812
### Changed
913
- Improved transform parameter handling

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "tasdev-au/craft-graphql-srcset",
33
"description": "Adds the @srcset GraphQL directive for generating a comma-separated list of image transforms.",
44
"type": "craft-plugin",
5-
"version": "1.0.4",
5+
"version": "1.0.5",
66
"keywords": [
77
"craft",
88
"cms",

src/gql/arguments/SrcSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static function getArguments(): array
3535
],
3636
'ratio' => [
3737
'name' => 'ratio',
38-
'type' => [Type::float(), Type::string()],
38+
'type' => Type::float(),
3939
'description' => 'Optional aspect ratio for the generated transforms'
4040
],
4141
'mode' => [

0 commit comments

Comments
 (0)