Commit Graph

55 Commits

Author SHA1 Message Date
Jens Schauder
ccf3e04453 Refining QBE documentation.
Adds a configurable limitation about collection support in Query By Example.

Closes: #3226
2025-01-10 10:21:14 +01:00
Mark Paluch
3f0f788019 Extend license header copyright years to 2025.
See #3228
2025-01-08 09:58:44 +01:00
Mark Paluch
75175d686d Update Projection section in reference documentation.
Closes #3216
2024-12-03 11:00:22 +01:00
Mark Paluch
2f11039ba3 Refine Value Expression documentation.
Closes #3214
2024-11-29 09:42:40 +01:00
Mark Paluch
99b95ca72e Polishing.
Tweak wording. Add Override annotations.

See #3200
Original pull request: #3201
2024-11-15 09:59:05 +01:00
Christoph Strobl
0a19501e3d Update custom repository extension section.
Closes #3200
Original pull request: #3201
2024-11-15 09:58:52 +01:00
Mark Paluch
09ba413316 Refine Scrolling refdocs.
Closes #3192
2024-11-04 09:36:09 +01:00
Mark Paluch
089e470332 Polishing.
Add DDD context. Explain identifier to domain object relationship. Tweak wording.

See #3173
Original pull request: #3174
2024-10-17 15:23:01 +02:00
Christoph Strobl
f736636f62 Update documentation.
Add section on reserved method names within repository interfaces.

Closes #3173
Original pull request: #3174
2024-10-17 15:22:45 +02:00
Mark Paluch
b17bdec034 Polishing.
Avoid nullability in RepositoryMethodContextHolder.getContext(). Introduce shortcut in RepositoryMethodContext to obtain the current thread-local context. Update documentation.

See #3175.
Original pull request: #3176
2024-10-16 10:59:02 +02:00
Hosam Aly
55afe84b44 Fix typo in query-methods-details.adoc.
Fix a typo: Priced => Product

Closes #3172
2024-10-14 08:49:38 +02:00
imcb
15aa855690 Fix typo in definition.adoc.
Closes #3147
2024-10-11 10:39:04 +02:00
Christoph Strobl
d9bdd2b550 Polishing.
Update documentation.
Additional logging for repository bootstrap procedure.
Limit usage of Optional in RepositoryFragment.

Original Pull Request: #3145
2024-09-04 10:49:22 +02:00
Mark Paluch
3e75581336 Split projections document fragment into multiple subfragments.
Closes #3144
2024-08-29 09:58:26 +02:00
Kuyho Chung
98c22d09aa Corrected the definition of coroutines.
Closes #3136
2024-08-15 14:21:04 +02:00
Christoph Strobl
2cc8d04c92 Update code snippet in documentation.
Original Pull Request: #3093
2024-08-08 13:52:55 +02:00
Mark Paluch
22fa3c6506 Polishing.
Refine grammar, line breaks, typos.

Original Pull Request: #3093
2024-08-08 13:51:48 +02:00
Christoph Strobl
3b667b90be Update documentation and fix nullable annotations.
Original Pull Request: #3093
2024-08-08 13:50:52 +02:00
Mark Paluch
658c04d00e Rename RepositoryMethodMetadata and move it to an interceptor.
Rename RepositoryMethodMetadata to RepositoryMethodContext.
Add flags to enable method metadata exposure.

See: #3090
Original Pull Request: #3093
2024-08-08 13:49:06 +02:00
Christoph Strobl
647d9fd949 Provide RepositoryMethodMetadata during method invocation.
Provide context during repository method invocation to potential consumers.

See: #3090
Original Pull Request: #3093
2024-08-08 13:46:55 +02:00
Mark Paluch
2ee3a866a6 Bundle Javadoc with Antora documentation site.
Closes #3128
2024-07-31 09:27:07 +02:00
Mark Paluch
a115ee6a44 Filter delegated properties for Kotlin data classes.
We now filter delegated properties (such as lazy) from being managed as persistent properties.

Closes #3112
2024-06-24 11:51:49 +02:00
Alessandro Rubino
c2a475b42c Update links to direct section links.
Closes #3095
2024-05-14 09:54:43 +02:00
Mark Paluch
18d31ec61d Document how projection types relate to the entity type hierarchy.
Closes #3092
2024-05-07 15:17:43 +02:00
Alexander Münch
2f9427a94b Fix typo in object-mapping.adoc.
Closes #3076
2024-04-15 15:15:16 +02:00
Mark Paluch
855194a13d Polishing.
Introduce method to obtain a position function from OffsetScrollPosition. Tweak documentation wording.

See #3070
Original pull request: #3072
2024-04-10 10:41:52 +02:00
Christoph Strobl
eb184669db Revise OffsetScrollPosition to use zero-based indexesAlign Offset Scrolling Position.
Closes #3070
Original pull request: #3072
2024-04-10 10:41:35 +02:00
Mark Paluch
e15c83467b Refine Query by Example string matching to call out store-specific limitations.
Closes #3058
2024-03-05 10:23:20 +01:00
Mark Paluch
67163d02e3 Evolve ValueExpressionParser.
Introduce literal, expression and placeholder variants. Add parser for composite expressions.

Closes #2369
Original pull request: #3036
2024-02-12 15:35:19 +01:00
Oliver Drotbohm
5dd7b322b6 Support for simplified rendering of Page instances via PagedModel.
This commits all necessary infrastructure to produce simplified JSON representation rendering for Page instances to make sure the representations stay stable and do not expose unnecessary implementation details. The support consists of the following elements:

- PagedModel, a stripped down variant of the Spring HATEOAS counterpart to produce an equivalent JSON representation but without the hypermedia elements. This allows a gradual migration to Spring HATEOAS if needed. Page instances can be wrapped into PagedModel once and returned from controller methods to create the new, simplified JSON representation.

- @EnableSpringDataWeb support now contains a pageSerializationMode attribute set to an enum with two possible values: DIRECT, which is the default for backwards compatibility reasons. It serializes Page instances directly but issues a warning that either the newly introduced support here or the Spring HATEOAS support should be used to avoid accidentally breaking representations. The other value, VIA_DTO causes all PageImpl instances to be rendered being wrapped in a PagedModel automatically by registering a Jackson StdConverter applying the wrapping transparently.

Internally, the configuration of @EnableSpringDataWebSupport is translated into a bean definition of a newly introduced type SpringDataWebSettings and wired into the web configuration for consideration within a Jackson module, customizing the serialization for PageImpl.

Fixes GH-3024.
2024-01-12 21:49:50 +01:00
Mark Paluch
989af7dcf7 Document Window<T> as a query return type.
Closes #3019
2024-01-11 14:19:01 +01:00
Mark Paluch
98d265f91c Extend license header copyright years to 2024.
See #3015
2024-01-02 14:41:38 +01:00
Mark Paluch
565fc99596 Polishing.
Fix letter casing.

See #3006
Original pull request: #3007
2023-12-15 09:20:16 +01:00
Christoph Strobl
d470c98877 Add Limit parameter to section in reference documentation.
Closes #3006
Original pull request: #3007
2023-12-15 09:20:09 +01:00
Rajesh Anthari
ee64329267 Remove extra /api path segement in reference documentation.
Closes #2998
2023-12-11 10:33:37 +01:00
Christoph Strobl
786c2e537d Add property path tests & update reference documentation.
See: #1851
Original Pull Request: #2940
2023-11-21 09:00:10 +01:00
Runbing
aac6b9dd7d Fixed the URL for the Spring Data Commons documentation.
I fixed an incorrect URL in the antora-playbook.yml file.

Closes #2982
2023-11-20 11:29:05 +01:00
Mark Paluch
7803230106 Document public ScrollPosition factory methods.
Closes #2975
2023-11-13 11:26:07 +01:00
Mark Paluch
42badf256f Polishing.
Fix grammar. Add note about store-specific support.

See #2960
Original pull request: #2961
2023-11-10 14:32:43 +01:00
Jens Schauder
02d780fdf3 Mention ListPagingAndSortingRepository in documentation.
Closes #2960
Original pull request: #2961
2023-11-10 14:29:02 +01:00
Mark Paluch
96f8ee25fe Fix include/exclude filters documentation.
Closes #2969
2023-11-06 08:29:44 +01:00
Yanming Zhou
5dbd956a28 Use correct ScrollPosition factory methods in reference docs.
Closes #2963
2023-10-23 09:15:33 +02:00
Mark Paluch
957fdf490a Polishing.
Refine headers.

See #2912
2023-09-12 10:00:12 +02:00
Mark Paluch
36d18da16f Polishing.
Replace self xrefs to <<…>> self reference syntax.

See #2912
2023-09-07 11:13:20 +02:00
Mark Paluch
068c19f60f Polishing.
Replace self xrefs to <<…>> self reference syntax.

See #2912
2023-08-31 14:29:04 +02:00
Mark Paluch
6f981143ce Reorganize antora asciidoc sources for easier reuse.
See #2912
2023-08-22 14:10:49 +02:00
Mark Paluch
5070a0f06c Polishing.
Use asciidoc variables where possible.

See #2912
2023-08-21 14:06:47 +02:00
Mark Paluch
7bad122168 Upgrade to UI resources 0.3.3.
See #2912
2023-08-21 11:11:45 +02:00
Mark Paluch
8ac34bf11b Use Antora-configuration profiles.
Switch from local plugin definition to the one provided by Spring Data Build.

Closes #2912
2023-08-21 11:11:19 +02:00
Rob Winch
c05ed095ce Use io.spring.maven.antora.
See #2890.
2023-08-01 15:36:55 -05:00