@@ -544,8 +544,7 @@ pub enum __Type {
544
544
#[ cached(
545
545
type = "SizedCache<u64, HashMap<String, __Field>>" ,
546
546
create = "{ SizedCache::with_size(1000) }" ,
547
- convert = r#"{ calculate_hash(type_) }"# ,
548
- sync_writes = true
547
+ convert = r#"{ calculate_hash(type_) }"#
549
548
) ]
550
549
pub fn field_map ( type_ : & __Type ) -> HashMap < String , __Field > {
551
550
let mut hmap = HashMap :: new ( ) ;
@@ -570,8 +569,7 @@ pub fn field_map(type_: &__Type) -> HashMap<String, __Field> {
570
569
#[ cached(
571
570
type = "SizedCache<u64, HashMap<String, __InputValue>>" ,
572
571
create = "{ SizedCache::with_size(1000) }" ,
573
- convert = r#"{ calculate_hash(type_) }"# ,
574
- sync_writes = true
572
+ convert = r#"{ calculate_hash(type_) }"#
575
573
) ]
576
574
pub fn input_field_map ( type_ : & __Type ) -> HashMap < String , __InputValue > {
577
575
let mut hmap = HashMap :: new ( ) ;
@@ -3875,8 +3873,7 @@ pub struct __Schema {
3875
3873
#[ cached(
3876
3874
type = "SizedCache<String, HashMap<String, __Type>>" ,
3877
3875
create = "{ SizedCache::with_size(200) }" ,
3878
- convert = r#"{ serde_json::ser::to_string(&schema.context.config).expect("schema config should be a string") }"# ,
3879
- sync_writes = true
3876
+ convert = r#"{ serde_json::ser::to_string(&schema.context.config).expect("schema config should be a string") }"#
3880
3877
) ]
3881
3878
pub fn type_map ( schema : & __Schema ) -> HashMap < String , __Type > {
3882
3879
let tmap: HashMap < String , __Type > = schema
0 commit comments