sdk-go icon indicating copy to clipboard operation
sdk-go copied to clipboard

Change the root path of not absolute import file

Open lsytj0413 opened this issue 2 years ago • 2 comments

What would you like to be added:

Why is this needed:

  • https://github.com/serverlessworkflow/sdk-go/pull/100#discussion_r991328194

lsytj0413 avatar Oct 22 '22 02:10 lsytj0413

Hi. @lsytj0413, can you please add more details about this enhancement?

Thanks :)

spolti avatar Oct 24 '22 13:10 spolti

Hi. @lsytj0413, can you please add more details about this enhancement?

Thanks :)

I have add the links to a previous comment. Currently the parser will locate import file (with not absolute path) joined the current working directory, this will base on the executable file's path.

So i proposed to add an Include options, user can use the to change the import file base directory.

lsytj0413 avatar Oct 24 '22 14:10 lsytj0413