File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 8383 fields = lambda : {
8484 # Note: The fields onOperation, onFragment and onField are deprecated
8585 "name" : GraphQLField (
86- GraphQLNonNull (GraphQLString ), resolve = lambda obj , _info : obj .name
86+ GraphQLNonNull (GraphQLString ),
87+ resolve = lambda directive , _info : directive .name ,
8788 ),
8889 "description" : GraphQLField (
89- GraphQLString , resolve = lambda obj , _info : obj .description
90+ GraphQLString , resolve = lambda directive , _info : directive .description
9091 ),
9192 "isRepeatable" : GraphQLField (
9293 GraphQLNonNull (GraphQLBoolean ),
93- resolve = lambda obj , _info : obj .is_repeatable ,
94+ resolve = lambda directive , _info : directive .is_repeatable ,
9495 ),
9596 "locations" : GraphQLField (
9697 GraphQLNonNull (GraphQLList (GraphQLNonNull (__DirectiveLocation ))),
97- resolve = lambda obj , _info : obj .locations ,
98+ resolve = lambda directive , _info : directive .locations ,
9899 ),
99100 "args" : GraphQLField (
100101 GraphQLNonNull (GraphQLList (GraphQLNonNull (__InputValue ))),
You can’t perform that action at this time.
0 commit comments