should `getAllFunctions()` return all of my genera...
# help
m
should
getAllFunctions()
return all of my generated functions? even if they’re in nested stacks?
g
it returns all functions for ur current stack afaik
f
Yup, in the current stack ☝️
m
dang, I need to get access to all of my functions, but they’re in nested stacks and they don’t pass
child instanceof Fn
because I’m using NodejsFunction. I know that’s not really supported but it is kind of a bummer.
f
I haven’t tried nested stacks, but it should work.
oh
getAllFunctions
only return
sst.Function
m
I’m still trying to convert my app in stages to SST.. currently stuck on this https://serverless-stack.slack.com/archives/C01JG3B20RY/p1640942861272200
f
Can you see if you can use Aspects to access all functions? https://docs.aws.amazon.com/cdk/v1/guide/aspects.html
m
oh that’s a swell idea, thanks