Code template library dependency #5280
dfauraz
started this conversation in
Feature/Enhancement Ideas
Replies: 1 comment 5 replies
-
You can set a channel to be dependent on a code template library from within the channel summary tab. Click "Set dependencies" and it is the first tab in the resulting popup. When you establish this dependency in channel code, you will still see it when you are working in the code template area. I don't think it would be typical to refer to channels by id within a code template, unless the purpose of the code template is to send something to a particular channel. Even in that case, it might be more reasonable to provide the targeted channel as an argument to the code template. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi !
We have a few code template libraries and around 400 channels, many of them using these libraries (version 3.9).
The library references the enabled/disabled channels using their IDs.
This is not logical IMHO : it should be the channel referencing the library.
This is not practical also : every time you have a new channel depending on the library, you must update
the library and redeploy it, even if nothing has changed in the code of the library.
In our CICD (maven based), it causes a lock of headaches.
It is as if you would need to update a library in maven, each time a projects adds it as one of its dependencies.
Of course there is the option to add "all new channels" to the code template.
However, it is nice to have some "scoping" of libraries so this is not really a good option either.
Wouldn't it make sense to have the channel referencing the code template instead ?
Is there a rationale behind the current implementation ?
Are we the only one to have this problem ?
Thanks a lot ! :)
Beta Was this translation helpful? Give feedback.
All reactions