Skip to content

Documentation enhancement: Separate examples of methods with special parameters and methods without #3268

Closed
@Hdvlp

Description

@Hdvlp

The documentation of Limiting Query Results can be enhanced with the clarification and comment from schauder.

Current situation:
The examples with parameters inside brackets such as List<User> findByLastname(Limit limit); and the examples without parameters inside brackets such as User findFirstByOrderByLastnameAsc(); appear in the same box of examples.

Potential enhancement:
To be more obvious, it could be done like this:

I imagine a potential change could be: (There could be a better way, but this is what I can think of right now.)

Create two boxes of examples:
Box A:
Examples without parameters in brackets.

Box B:
Examples with parameters in brackets.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions