spring-data-rest icon indicating copy to clipboard operation
spring-data-rest copied to clipboard

DATAREST-721 - Show input fields for associations in CustomPostForm …

Open marcelkauf opened this issue 8 years ago • 0 comments

… to be able to create resources with mandatory associations.

Input field for associations are now shown. These are only simple text fields, the user is responsible for inserting the correct URI. It is only possible to enter one URI, additional links have to be added via separate requests, e.g. PATCH. Jackson has to be configured properly for this to work (spring.jackson.deserialization.accept-empty-string-as-null-object, spring.jackson.deserialization.accept-single-value-as-array). This is just a simple fix but definitely an improvement since it wasn't possible to create resources with mandatory associations before.

  • [x] You have read the Spring Data contribution guidelines.
  • [x] There is a ticket in the bug tracker for the project in our JIRA.
  • [x] You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • [ ] You submit test cases (unit or integration tests) that back your changes.
  • [x] You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

marcelkauf avatar Aug 21 '17 08:08 marcelkauf