Congrats with new release! Have a question: can I ...
# announcements
e
Congrats with new release! Have a question: can I pass the name of the alias as a param into solid? I have lots of sql queries, don't want to add them all into config and them just read sql file with the same name as the alias (ie sql_to_dict.alias("changed_addresses") will read changed_addresses.sql)
k
You should be able to obtain the alias from the context. I am on mobile so I can’t look it up but it should be in one of the dicts . My question would be what benefit do you see in linking the alias so closely to the input file? This would mean that you could never change the data source of your configured solid at runtime…
It's
context.solid.name
btw.
My question still stands though 🙂