Skip to content

Commit

Permalink
select form also works
Browse files Browse the repository at this point in the history
  • Loading branch information
burner committed Jun 7, 2019
1 parent 8e86bc4 commit 250144b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/graphql/schema/typeconversions.d
Original file line number Diff line number Diff line change
@@ -270,7 +270,7 @@ Json typeToJson(Type,Schema)() {

// remove the array is present
Json typeToJson1(Type,Schema,Orig)() {
static if(isArray!Type && !isSomeString!Type) {
static if(isArray!Type && !isSomeString!Type && !is(Type == enum)) {
Json ret = emptyType();
ret["kind"] = "LIST";
ret[Constants.__typename] = "__Type";

0 comments on commit 250144b

Please sign in to comment.