Skip to content

Commit f329a23

Browse files
Merge pull request #1 from rockneurotiko/change_to_macro
Change to gql macro and add a new macro
2 parents 0113b6f + 3e2a284 commit f329a23

File tree

15 files changed

+1128
-200
lines changed

15 files changed

+1128
-200
lines changed

.formatter.exs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Used by "mix format"
2+
local_macros = [gql: 1, gql: 2, gql_from_file: 1, gql_from_file: 2]
3+
24
[
35
inputs: [
46
"{mix,.formatter}.exs",
57
"{config,lib,test}/**/*.{ex,exs,graphql,gql}"
68
],
7-
plugins: [GraphqlQuery.Formatter]
9+
plugins: [GraphqlQuery.Formatter],
10+
locals_without_parens: local_macros,
11+
export: [local_without_parens: local_macros]
812
]

0 commit comments

Comments
 (0)