package de.philipphager.disclosure.api.adapters;

import com.google.gson.TypeAdapterFactory;
import com.ryanharter.auto.value.gson.GsonTypeAdapterFactory;

@GsonTypeAdapterFactory
public abstract class AutoValueTypeAdapterFactory implements TypeAdapterFactory {
  public static TypeAdapterFactory create() {
    return new AutoValueGson_AutoValueTypeAdapterFactory();
  }
}

Add a TypeAdapterFactoy for AutoValue models
Add a TypeAdapterFactoy for AutoValue models

Instead of registering every AutoValue class separately,
use a generated factory.
