spring-projects / spring-projects/spring-framework

Provide first-class support for web linking

Open
#30,630 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

in: web type: enhancement
Dominant language
Java
Stars
60.2k
Forks
38.8k
Avg merge
5d 2h
Merged PRs (30d)
27

Description

It would be nice if Spring Framework provided first-class support for web linking as defined by RFC-8288 for use in Spring MVC and WebFlux.

I'm aware that support for this exists within Spring HATEOAS (as I've used it extensively over the years) however it feels that a nice API for building Link headers is a generally useful thing outside of just its use in Spring HATEOAS and could easily be a part of core web framework.

With more and more use cases that rely on Link headers, such as Early Hints, I regularly find myself missing this in almost all projects I work on (that don't use Spring HATEOAS).

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.

Research direction

Start by reading RFC-8288 and comparing the existing Spring HATEOAS support for Link headers with the needs of Spring MVC and WebFlux. Consider the Early Hints use case described in the issue; done would require an agreed core web framework API for building and using Link headers.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.