Hello all, just starting out with Pulumi. After so...
# golang
g
Hello all, just starting out with Pulumi. After some wrestling with it a little, I was able to get the aws-go-s3-folder example to work. Looking at the code, it appears all the
*Args
classes use
interface{}
instead of building out real types, is there a reason for that approach? I assume it’s to check for
nil
but it kind of feels like you lose the benefits of using a strongly typed language when you set everything to be an
interface{}
.
b
Hi @glamorous-television-20475 So the go support isn’t by any means complete. This is very much an area we need to be better with so it will change in the future I’m sorry it’s not quite there yet P.
g
Ah, totally understand. I guess I was wondering if that is something that you guys are looking at fleshing out? or if it was the approach you were planning on taking? I’m okay with using TypeScript for now since it seems like there’s a bit more support on that.
b
We will definitely be looking at improving this area - you are not the first to raise it - this is why we are classing Go as in preview mode for now - it definitely needs more work
g
Sweet. I was looking at the Github issues and noticed the https://github.com/pulumi/pulumi/issues/1614 which looked pretty stale at this point. Is there a better place to look to get a better understanding at what work is being planned or what needs to be done with regards to Golang?
b
No at this moment but please so weigh in on that issue so we know it’s still a thing people want :)
👍 1
g
Thanks for your time!