Skip to content

Commit

Permalink
fix the whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
burner committed Aug 4, 2023
1 parent 12109f2 commit 480fc82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions source/graphql/helper.d
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ Json getWithPath2(Json input, string path) {
auto sp = path.splitter(".");
foreach(s; sp) {
Json* n = s in input;
if(n is null || (*n).type == Json.Type.null_) {
return Json(null);
}
if(n is null || (*n).type == Json.Type.null_) {
return Json(null);
}
input = *n;
}
return input;
Expand Down
2 changes: 1 addition & 1 deletion source/graphql/schema/typeconversions.d
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import graphql.uda;
import graphql.constants;

private enum memsToIgnore = ["__ctor", "toString", "toHash", "opCmp",
"opEquals", "Monitor", "factory", "opAssign"];
"opEquals", "Monitor", "factory", "opAssign"];
@safe:

template typeToTypeEnum(Type) {
Expand Down

0 comments on commit 480fc82

Please sign in to comment.