Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Standardize on either domainClass or entityClass #493

Closed
jmax01 opened this issue Feb 17, 2020 · 2 comments
Closed

Standardize on either domainClass or entityClass #493

jmax01 opened this issue Feb 17, 2020 · 2 comments

Comments

@jmax01
Copy link

jmax01 commented Feb 17, 2020

Standardize on either domainClass or entityClass.

Example:

<T> Boolean exists(DocumentQuery query, Class<T> entityClass, String collectionName);
<T> Page<T> findAll(Pageable pageable, Class<T> domainClass, String collectionName);

I would suggest that domainType actually would be the best term as this is the terminology that appears to be used in the org.springframework.data.repository package when referencing those domain Class<?> instances.

@kushagraThapar
Copy link
Collaborator

Thanks for the suggestion @jmax01 We will update those parameter names.

@kushagraThapar
Copy link
Collaborator

This is released in spring-data-cosmosdb v2.2.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants