code: func AddProviderInContext(ctx context.Context, elementName string) context.Context {
  	parts := strings.Split(elementName, ".")
  	if len(parts) == 1 {
  		log.FromContext(ctx).Debugf("Could not find a provider for %s.", elementName)
  		return ctx
  	}
  
  	if name, ok := ctx.Value(providerKey).(string); ok && name == parts[0] {
  		return ctx
  	}
  
  	return context.WithValue(ctx, providerKey, parts[0])
  }
docs: // AddProviderInContext Adds the provider name in the context