code: func MergeResourceEncodingConfigs(
  	defaultResourceEncoding *serverstore.DefaultResourceEncodingConfig,
  	resourceEncodingOverrides []schema.GroupVersionResource,
  ) *serverstore.DefaultResourceEncodingConfig {
  	resourceEncodingConfig := defaultResourceEncoding
  	for _, gvr := range resourceEncodingOverrides {
  		resourceEncodingConfig.SetResourceEncoding(gvr.GroupResource(), gvr.GroupVersion(),
  			schema.GroupVersion{Group: gvr.Group, Version: runtime.APIVersionInternal})
  	}
  	return resourceEncodingConfig
  }
docs: // MergeResourceEncodingConfigs merges the given defaultResourceConfig with specific GroupVersionResource overrides.