spring-projects / spring-projects/spring-data-commons

Cleanups in `TypeInformation`

Open
#2,643 0 comments 0 reactions 1 assignee View on GitHub

@odrotbohm is already working on this.

Since Jun 10, 2022.

type: enhancement
Dominant language
Java
Stars
838
Forks
730
PR merge metrics
No merged PRs in 30d

Description

  • Unify test cases in TypeInformationUnitTests (currently spread around in TypeDiscovererUnitTests and ClassTypeInformation).
  • Re-enable caching of raw ResolvableTypes in TypeDiscoverer once spring-projects/spring-framework#28608 is resolved
  • Re-structure type hierarchy TI <-> ResolvableTI <-> CTI, GTI to simplify equals(…) / hashCode() arrangements by moving all methods except the ones overridden in CTI into RTI. Current implementations of those methods in TypeDiscoverer into GTI.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.