package de.springbootbuch.reactive.filmstore;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Part of springbootbuch.de.
 * @author Michael J. Simons
 * @author @rotnroll666
 */
@SpringBootApplication
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}

@@ -51,118 +51,412 @@
 ort 
-org.springframework.boot.SpringApplication;%0Aimport org.springframework.boot.autoconfigure.SpringBootApplicatio
+de.springbootbuch.reactive.filmstore.support.ActorConstructorMixIn;%0Aimport de.springbootbuch.reactive.filmstore.support.FilmConstructorMixIn;%0Aimport org.springframework.boot.SpringApplication;%0Aimport org.springframework.boot.autoconfigure.SpringBootApplication;%0Aimport org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer;%0Aimport org.springframework.context.annotation.Bea
 n;%0A%0A
@@ -690,11 +690,233 @@
 rgs);%0A%09%7D
+%0A%0A%09@Bean%0A%09Jackson2ObjectMapperBuilderCustomizer objectMapperCustomizer() %7B%0A%09%09return builder -%3E %7B%0A%09%09%09builder.mixIn(Film.class, FilmConstructorMixIn.class);%0A%09%09%09builder.mixIn(Actor.class, ActorConstructorMixIn.class);%0A%09%09%7D;%0A%09%7D
 %0A%7D%0A

Configure object mapper