Skip to content

Commit 5b127f1

Browse files
committed
polish: group FRAGMENT_VARIABLE_DEFINITION with executable defs
FRAGMENT_VARIABLE_DEFINITION was already grouped with the executable locations, so this instead reorders that group to match upstream and the introspection schema (INLINE_FRAGMENT before the variable definitions). Replicates graphql/graphql-js@3cbd426
1 parent 0460840 commit 5b127f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/graphql/language/directive_locations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ class DirectiveLocation(Enum):
1515
FIELD = "field"
1616
FRAGMENT_DEFINITION = "fragment definition"
1717
FRAGMENT_SPREAD = "fragment spread"
18+
INLINE_FRAGMENT = "inline fragment"
1819
VARIABLE_DEFINITION = "variable definition"
1920
FRAGMENT_VARIABLE_DEFINITION = "fragment variable definition"
20-
INLINE_FRAGMENT = "inline fragment"
2121

2222
# Type System Definitions
2323
SCHEMA = "schema"

0 commit comments

Comments
 (0)