Skip to content

3.0.0 – Simplified Configuration API

Compare
Choose a tag to compare
@CarstenWickner CarstenWickner released this 10 Jun 20:38

Changed

  • Simplify configuration API to be based on FieldScope/MethodScope respectively.
  • Consolidate some utility functions into FieldScope/MethodScope.
  • Consolidate logic for determining whether a type is a container into TypeContext.
  • Consolidate naming logic for schema "definitions" into TypeContext.
  • Add TypeContext argument to CustomDefinitionProvider interface.
  • Remove SchemaGeneratorConfig argument from InstanceAttributeOverride interface.

Added

  • Allow for sub-typing of FieldScope/MethodScope and TypeContext (in case offered configuration options are insufficient).

Removed

  • Remove support for Option.GETTER_ATTRIBUTES_FOR_FIELDS and Option.FIELD_ATTRIBUTES_FOR_GETTERS, rather let configurations/modules decide individually and avoid potential endless loop.