Closed VelDeveloper closed 4 years ago
I see someone is already trying to help you on Stack Overflow. To avoid duplicating effort, it’s better to keep the discussion in one place so I am going to close this issue for now. We can re-open it if it turns out that a change in Spring Boot is required.
You’ve said above that “In the older versions, it was absolutely working fine with List
@wilkinsona I didn't get an answer in stack-overflow as well. That's the reason I posted the question in the official forum. Could you please help me to resolve the issue instead of forwarding to StackOverflow or could you please answer it in StackOverflow. Maybe a hint would be really helpful.
That's the reason I posted the question in the official forum.
The issue template that was available when you created this issue mentions that we prefer not to use this issue tracker for questions. This is also mentioned in the guidelines for contributing. Please review those before contributing again.
Maybe a hint would be really helpful.
I believe Andy gave you one already. If you provide the sample he requested on your SO question, you'll increase your chances to get an answer quickly.
@wilkinsona @snicoll I have updated the question in StackOverflow as per @wilkinsona request. Could you please help with it? In the older version(1.5.10) of spring-boot, it is working fine after I add @EnableHypermediaSupport(type = EnableHypermediaSupport.HypermediaType.HAL)
but in the new version of spring-boot(2.2.1), it stopped working. Any help would be really appreciated.
On SB 2.2.0.RELEASE in responses there were _embedded fields, but after upgrading to 2.2.5.RELEASE it has disappeared. After sequential downgrading found out that in 2.2.1.RELEASE the field has disappeared.
My frontend is relying on values on the fields inside the _embedded field.
@yerzhant You have the opposite problem to the one reported here and on Stack Overflow. If you believe that you have found a bug, please open a new issue and provide a minimal sample that reproduces the problem either as a zip attached to this issue or pushed to a separate repository.
I am using spring-boot-2.2.1 along with spring-HATEOAS. Hypermedia links are working fine but I see _embedded attribute while returning links, Please find the below code for reference,
Controller.Java
Actual Response
Expected Response
I tried
But no luck still I am able to see _embedded attribute in the response. Could anyone please help me to identify the issue.
I tried to return>
List<EntityModel<Capability>>
here I couldn't see_embedded
but_links
are renamed tolinks
and the links are not rendered properly. In the older versions, it was absolutely working fine with List<ResourceSample response for
List<EntityModel<Capability>>
Please find the stackoverflow question here
I also tagged
spring-boot
but no reply so for. Any help would be really appreciated.