Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a property creation context to HalFormsOptionsFactory #2274

Open
reda-alaoui opened this issue Dec 23, 2024 · 0 comments · May be fixed by #2275
Open

Provide a property creation context to HalFormsOptionsFactory #2274

reda-alaoui opened this issue Dec 23, 2024 · 0 comments · May be fixed by #2275
Assignees
Labels
in: mediatypes Media type related functionality type: enhancement
Milestone

Comments

@reda-alaoui
Copy link
Contributor

reda-alaoui commented Dec 23, 2024

See #1695 (comment) for context.

There are some times where the list of possible HAL-FORMS options is constrained by a PathVariable. I propose to add a PropertyCreationContext that would provide intel allowing to have more dynamic ways of creating HAL-FORMS metatadas.

To begin, this PropertyCreationContext would only expose the AffordanceModel#link.

@odrotbohm odrotbohm self-assigned this Jan 17, 2025
@odrotbohm odrotbohm added type: enhancement in: mediatypes Media type related functionality labels Jan 17, 2025
@odrotbohm odrotbohm added this to the 2.5.0-M1 milestone Jan 17, 2025
@odrotbohm odrotbohm modified the milestones: 2.5.0-M1, 2.5.0-M2 Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: mediatypes Media type related functionality type: enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants