Alex Chugaev

Results 7 comments of Alex Chugaev

The new `inject` API opens new possibilities for better code reuse. Here's how a typical implementation of `OnDestroy` looks like: ```ts export class DemoComponent implements OnDestroy { private readonly destroy$...

@yjaaidi +1 from me, I see it just like you described, but with a shorter injectable name: ```ts const { init$, changes$, destroy$ } = inject(Lifecycle); ```

We also get in such problem... Can you fix this?

What's the point in creating an additional field? I need it to work normally with `JoinColumn`: ![image](https://user-images.githubusercontent.com/6230776/111868175-14f02100-8981-11eb-89bf-58ef3dd4b4ab.png) Is that possible?

@Jtosbornex thanks, it solved my problem. But to be honest, the solution is a bit unexpected. 😉

I have the same issue even with a normally generated `workspace.json` file: ```bash $ nx run workspace:version > NX Cannot find project 'workspace' ``` Environment: a newly generated Nx workspace...

Ocurred on **WebStorm 2021.2.2** with **GitHub Actions plugin v1.1.9** ``` java.lang.NoSuchMethodError: 'org.jetbrains.plugins.github.util.GitRemoteUrlCoordinates org.jetbrains.plugins.github.util.GHGitRepositoryMapping.getGitRemote()' at org.github.otanikotani.workflow.GitHubWorkflowRunManager.updateRemoteUrls(GitHubWorkflowRunManager.kt:58) at org.github.otanikotani.workflow.GitHubWorkflowRunManager.access$updateRemoteUrls(GitHubWorkflowRunManager.kt:27) at org.github.otanikotani.workflow.GitHubWorkflowRunManager$Companion.updateRemotes(GitHubWorkflowRunManager.kt:98) at org.github.otanikotani.workflow.GitHubWorkflowRunManager$Companion.access$updateRemotes(GitHubWorkflowRunManager.kt:89) at org.github.otanikotani.workflow.GitHubWorkflowRunManager$RemoteUrlsListener$repositoryChanged$$inlined$runInEdt$1.run(GitHubWorkflowRunManager.kt:103) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214) at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196) at...