gehreleth

Results comments of gehreleth

Installing `@angular-devkit/[email protected]` solved this problem, I can generate new services and components now. But another annoying unresolved dependency popped up instead: `@schematics/[email protected] requires a peer of @angular-devkit/[email protected] but none was...

Wait until `@schematics/angular`'s dependency got updated to match `@angular-devkit/[email protected]`, I guess. It's not blocking, just outputs annoying warnings during build process.

This file seem to get regenerated indeed, but I'm not sure what versions are you talking about. Can you please elaborate preconditions for protoc.bat to work on Win10 installation. I've...

Oh, thank you. IDEA has proposed to replace local class with lambda call and I've followed this advise without giving it some deeper thought. Now It's working as expected. I...

Your generic example looks like this though. It doesn't try to extract and/or analyze some data from embedded entity during new link addition (which may cause problems such as mine),...

``` @RestController @RequestMapping("/api/lazy-tree") public class LazyTree { @Autowired private EntityLinks entityLinks; @Autowired private IStorageNodeRepository storageNodeRepository; @Bean public ResourceProcessor storageNodeProcessor() { return new EmbedLinksToStorageNode(); } @GetMapping(value = "/children/{parentId}") @Transactional(readOnly = true)...

Wrapped these collections. (Also moved bean definitions to `@Configuration` classes). ``` @GetMapping(value = "/children/{parentId}") @Transactional(readOnly = true) @Cacheable("lazy-tree") public Resources populateChildren(@PathVariable Long parentId) { StorageNode parent = storageNodeRepository.findOne(parentId); return new...

UPD: If I add `produces = {MediaType.APPLICATION_JSON_VALUE, "application/hal+json"}` qualifier to these mappings, this works, but nested links are marshalled as "_links". That's exactly what I've tried to avoid initially, because...

I've already figured out how to get rid of this exception (I've set produces attribute in `@RestController`). However, I'm confused about what you said about HAL. I've got a `@RepositoryRestResource`...

How to make Spring Data repository return valid HAL then? Did I overlook something in spring data repositories' initialization?