File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ def add_prefix_to_field_name(self, name):
425
425
+ "_"
426
426
+ name
427
427
)
428
- return self .get_name (self .type_name_prefix + "_" + name )
428
+ return self .get_name (self .type_name_prefix + name )
429
429
return self .get_name (name )
430
430
431
431
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ def test_schema_type_name_prefix_camelcase_disabled():
238
238
== dedent (
239
239
"""
240
240
type Query {
241
- MyPrefix_inner : MyPrefixMyType
241
+ MyPrefixinner : MyPrefixMyType
242
242
}
243
243
244
244
type MyPrefixMyType {
@@ -274,15 +274,15 @@ def test_schema_type_name_prefix_camelcase_disabled():
274
274
}
275
275
276
276
type Mutation {
277
- MyPrefix_create_user (name: String): MyPrefixCreateUser
277
+ MyPrefixcreate_user (name: String): MyPrefixCreateUser
278
278
}
279
279
280
280
type MyPrefixCreateUser {
281
281
name: String
282
282
}
283
283
284
284
type Subscription {
285
- MyPrefix_count_to_ten : Int
285
+ MyPrefixcount_to_ten : Int
286
286
}
287
287
"""
288
288
).strip ()
You can’t perform that action at this time.
0 commit comments