spring-projects / spring-projects/spring-hateoas

Support Hal Forms Property step attribute

Open
#2,376 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
476
PR merge metrics
No merged PRs in 30d

Description

Feature Request: Support Hal Forms step property attribute.

Hal Forms defines a step attribute: https://github.com/mamund/hal-forms/blob/master/index.asciidoc#step
It is quite useful because you can limit the number of decimal places you want to allow at time of input, e.g. in connection with https://stackoverflow.com/a/34057860/743507.

Based upon https://docs.spring.io/spring-hateoas/docs/current/reference/html/#mediatypes.hal-forms.metadata, Spring Hateoas has no way to specify the step.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the Spring HATEOAS HAL-FORMS metadata documentation and the linked Hal Forms specification; the issue names no source files or tests. Trace how existing metadata attributes are represented and serialized, then verify that a configured step value is emitted in the HAL-FORMS output.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.