Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCK superinterface is no longer valid #621

Merged

Conversation

njr-11
Copy link
Contributor

@njr-11 njr-11 commented Apr 2, 2024

Recently, language was added to the spec which states:

A superinterface of a repository interface must either:

  • be one of the built-in generic repository supertypes defined by this specification, DataRepository, BasicRepository, or CrudRepository, or
  • be a non-generic toplevel interface with no type parameters, whose abstract methods likewise declare no type parameters.

However, the TCK still has a test for a common superinterface that has a type parameter for the entity type. I think this part of the TCK was written back when the primary entity type was the only possible entity that could be used by a repository. In any case, it isn't valid anymore, and this pull updates the common superinterface into something that meets the above requirements.

Signed-off-by: Nathan Rauh <nathan.rauh@us.ibm.com>
@njr-11 njr-11 added bug Something isn't working test Something test-related labels Apr 2, 2024
@njr-11 njr-11 added this to the Jakarta Data 1.0 milestone Apr 2, 2024
@gavinking
Copy link
Contributor

Haha, I had to implement support for this because it was in the TCK :-)

@otaviojava otaviojava merged commit 81dfa3b into jakartaee:main Apr 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test Something test-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants