package dev.dinauer.maven.app;

import dev.dinauer.maven.shared.UserReferencing;
import dev.dinauer.maven.user.UserClient;
import jakarta.enterprise.context.ApplicationScoped;
import org.eclipse.microprofile.rest.client.inject.RestClient;

import java.util.Collection;
import java.util.Map;

@ApplicationScoped
public class ResponseEnhancementService
{
    @RestClient
    UserClient userClient;

    public <P extends UserReferencing> EnhancedResponse enhance(Collection<P> data)
    {
        return new EnhancedResponse(data, Map.of());
    }
}
