package click.kamil.examples.statemachine.extended.config;

import click.kamil.examples.statemachine.extended.service.QuirkService;
import click.kamil.examples.statemachine.extended.service.QualifierQuirkService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ConcreteReturnTypeConfig {

    @Bean
    public QuirkService hiddenConcreteService() {
        return new QualifierQuirkService(); // It returns an interface, but the concrete type is QualifierQuirkService
    }
}
