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

reference-guide: non-working code sample in 4.2. HAL-Forms | 4.2.3. A complete sample #1921

Open
KlausUnger-SoftwareCraftsmen opened this issue Feb 22, 2023 · 1 comment

Comments

@KlausUnger-SoftwareCraftsmen
Copy link

There is no support for .andAfford(...)

It should be imho .andAffordance(afford(...))

probably a convenience method andAfford(...) like stated would be nice

Will try to provide a PR for the doc fix

@KlausUnger-SoftwareCraftsmen KlausUnger-SoftwareCraftsmen changed the title non-working code sample in 4.2. HAL-Forms | 4.2.3. A complete sample reference-guide: non-working code sample in 4.2. HAL-Forms | 4.2.3. A complete sample Feb 22, 2023
@odrotbohm
Copy link
Member

I think in the example should rather properly add the link to the createCustomer(…) method under a link relation, as that would add the affordance transparently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants