Skip to content

Comments

Expose form info via props #2

Open
adstage-david wants to merge 2 commits intoweluse:masterfrom
adstage-david:patch-1
Open

Expose form info via props #2
adstage-david wants to merge 2 commits intoweluse:masterfrom
adstage-david:patch-1

Conversation

@adstage-david
Copy link

This makes the api match .links and .embedded - we have often have several links/forms with same rel, but different names, as allowed for in the HAL spec (create, props.name="folder" - create, props.name="campaign"). Finding the correct form is a pain without allowing us to peek at this info on the FormFactory.

This makes the api more like hyperagent links/embeds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant