Vasek - Tom C
Vasek - Tom C
Still a draft but it will solve that issue: https://github.com/dagger/dagger/pull/10846
```typescript @object() class RawkodeAcademy { @func() config = new Config() @func() myString = "hello"; } ``` Hmm that's strange because `hello` should be considered like a default value, you may...
> Using @func for these fields still feels very odd, since they are written, and accessed like fields in Typescript. I do understand that they are treated like functions internally...
> In the context of dagger it makes sense. But in the context of using the ts-sdk it doesn't. My perspective is purely on the 'using the ts-sdk' side of...
I'm closing this issue since we don't plan to go back on the `@field()` decorator so far, we'll reopen it if we decide to at some point.
> Curious to hear what @helderco and @TomChv think of this pattern - since it seems like the easiest way to enforce the above bolded rule. Yeah that's a great...
What's the status of this PR? I see a lot of conflict with main, I think this one should be rebase to have a change to be merged :D
Hey, This requires to support Dagger Interface on the TypeScript SDK, it's something we plan to support but first we need to do https://github.com/dagger/dagger/issues/8676 :rocket: Also the UX will be...
I'm closing this issue since I don't plan to add support for that in the nexts months. If it's a big blocker, feel free to reopen that issue and we...
It might be fixable with https://github.com/dagger/dagger/issues/8676 but this is an advanced use case that I wish to support! It's not for now though