Skip to content

Commit

Permalink
good
Browse files Browse the repository at this point in the history
  • Loading branch information
burner committed Sep 13, 2024
1 parent d5f34d1 commit c561af5
Show file tree
Hide file tree
Showing 18 changed files with 2,868 additions and 3,265 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ handWrittenFiles=source/graphql/argumentextractor.d \
source/graphql/directives.d

gen:
../Darser/darser -i graphql.yaml \
../Darser/darser --dod -i graphql.yaml \
-a source/graphql/ast.d -b "graphql" \
-p source/graphql/parser.d -q "graphql" \
-e source/graphql/exception.d -g "graphql" \
Expand Down
3 changes: 3 additions & 0 deletions source/graphql/argumentextractor.d
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module graphql.argumentextractor;

__EOF__

import std.array : back, empty, popBack;
import std.conv : to;
import std.format : format;
Expand All @@ -12,6 +14,7 @@ import graphql.visitor;
import graphql.ast;
import graphql.builder : FieldRangeItem;


@safe:

Json getArguments(Selections sels, Json variables) {
Expand Down
2 changes: 2 additions & 0 deletions source/graphql/argumentextractortests.d
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module graphql.argumentextractortests;

__EOF__

import std.format : format;

import vibe.data.json;
Expand Down
Loading

0 comments on commit c561af5

Please sign in to comment.