spring-projects / spring-projects/spring-data-rest

spring.data.rest.depth (configurable depth for returned JSON schema) [DATAREST-844]

Open
#1,215 0 comments 0 reactions 1 assignee View on GitHub

@odrotbohm is already working on this.

Since Dec 31, 2020.

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

Description

Paul Verest opened DATAREST-844 and commented

This is particular way of implementing of issue pointed in https://jira.spring.io/browse/DATAREST-221 and named as ""one-deep" endpoint schemas". Where Willie Wheeler who coined name, did not suggest how exactly it should work.

This ticket suggest that configurable depth should be used. Default is 1 as now.
Can be spring.data.rest.depth property for Spring Boot application.properties
http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html

Initial issue also addressed in
Also in https://jira.spring.io/browse/DATAREST-264 where solution is to specify what properties to project and https://jira.spring.io/browse/DATAREST-264


No further details from DATAREST-844

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.